Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009914, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008083/0.008083, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 15.38 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.0009157/0.2573, allocations: 0.6051 MB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.2583, allocations: 0.8936 MB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.2584, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.2584, allocations: 15.8 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.2585, allocations: 3.938 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.2587, allocations: 55.95 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.2589, allocations: 131.7 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.259, allocations: 53.47 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.2591, allocations: 35.8 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.2592, allocations: 55.69 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2592, allocations: 4 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.2592, allocations: 4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.2593, allocations: 19.91 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.2593, allocations: 69.38 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2595, allocations: 131.5 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2595, allocations: 0 / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2595, allocations: 0 / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2595, allocations: 0 / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005538/0.26, allocations: 427.4 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2601, allocations: 11.97 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.2602, allocations: 54.73 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.2602, allocations: 8.844 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2604, allocations: 212 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2604, allocations: 12.38 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2604, allocations: 12.38 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2608, allocations: 150.2 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2608, allocations: 3.938 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2608, allocations: 4 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2608, allocations: 4 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2611, allocations: 147.8 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.2618, allocations: 496.1 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.262, allocations: 94.47 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.2622, allocations: 52.83 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2622, allocations: 4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2622, allocations: 42.62 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.2622, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004573/0.2627, allocations: 181.6 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2627, allocations: 51.41 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2629, allocations: 187.5 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2629, allocations: 33.7 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.263, allocations: 115.9 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.263, allocations: 35.53 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2631, allocations: 17.72 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2632, allocations: 326.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2633, allocations: 47.97 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2634, allocations: 47.97 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.2637, allocations: 107.3 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2637, allocations: 3.938 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003173/0.264, allocations: 157.4 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2641, allocations: 8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2641, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2641, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2642, allocations: 27.97 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2642, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2644, allocations: 15.84 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2644, allocations: 8 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/0.2645, allocations: 126.2 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2645, allocations: 23.78 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.2648, allocations: 147 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2649, allocations: 8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2649, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2649, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.2654, allocations: 472.8 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2654, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2655, allocations: 27.92 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2655, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2656, allocations: 4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2656, allocations: 4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2656, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2659, allocations: 258.1 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.266, allocations: 100.8 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.266, allocations: 4 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2661, allocations: 19.98 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2662, allocations: 11.92 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2662, allocations: 8 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.997e-05/0.2663, allocations: 149.1 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2663, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002373/0.2666, allocations: 24 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005707/0.2671, allocations: 0.785 MB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.2674, allocations: 107.9 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2674, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2676, allocations: 55.91 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2679, allocations: 22.05 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2699, allocations: 1.935 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2701, allocations: 0.7083 MB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.2701, allocations: 17.08 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.2702, allocations: 39.42 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2702, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.2811, allocations: 2.484 MB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.2813, allocations: 199.5 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.818, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches