Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001677/0.001677, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 75.89 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.664, allocations: 140.4 MB / 0.9489 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1666/0.8306, allocations: 151.7 MB / 1.097 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.8457, allocations: 10.54 MB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.8466, allocations: 19.88 kB / 1.107 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.8476, allocations: 218.5 kB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.8502, allocations: 0.7812 MB / 1.108 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.8526, allocations: 0.9501 MB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.8545, allocations: 1.624 MB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.8561, allocations: 1.094 MB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.8581, allocations: 0.6093 MB / 1.113 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.8589, allocations: 0.5754 MB / 1.113 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.8591, allocations: 64 kB / 1.113 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.861, allocations: 0.9633 MB / 1.114 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.8614, allocations: 318.7 kB / 1.114 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006523/0.862, allocations: 0.5865 MB / 1.115 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.8646, allocations: 2.095 MB / 1.117 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8646, allocations: 8 kB / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.71e-07/0.8646, allocations: 0 / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.732e-05/0.8647, allocations: 0 / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003375/0.868, allocations: 1.684 MB / 1.119 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.8681, allocations: 11.97 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.8698, allocations: 266.1 kB / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.8711, allocations: 0.8861 MB / 1.12 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.8712, allocations: 73.98 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.8713, allocations: 96 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.8734, allocations: 1.108 MB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.8735, allocations: 0 / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.8736, allocations: 47.92 kB / 1.121 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.8736, allocations: 24 kB / 1.121 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.876, allocations: 1.315 MB / 1.122 GB, free: 15.72 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.8813, allocations: 3.214 MB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.8834, allocations: 1.099 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.8842, allocations: 427.9 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.8845, allocations: 138 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.8857, allocations: 0.6254 MB / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 3.376e-06/0.8857, allocations: 0 / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004208/0.8899, allocations: 1.631 MB / 1.129 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.89, allocations: 192.9 kB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8911, allocations: 0.8095 MB / 1.13 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.8911, allocations: 41.7 kB / 1.13 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.8915, allocations: 464.5 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.8918, allocations: 307.5 kB / 1.131 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.8921, allocations: 182.5 kB / 1.131 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8922, allocations: 345.9 kB / 1.132 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.893, allocations: 357.8 kB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.8938, allocations: 481.6 kB / 1.132 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.8954, allocations: 0.7921 MB / 1.133 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8954, allocations: 0 / 1.133 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002546/0.8979, allocations: 1.08 MB / 1.134 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.898, allocations: 4 kB / 1.134 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.898, allocations: 4 kB / 1.134 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/0.8987, allocations: 113.7 kB / 1.134 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.8997, allocations: 207.7 kB / 1.135 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.9029, allocations: 2.855 MB / 1.137 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.9039, allocations: 119.3 kB / 1.137 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.904, allocations: 39.97 kB / 1.137 GB, free: 15.63 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005912/0.9046, allocations: 311.5 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.9049, allocations: 102.8 kB / 1.138 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.908, allocations: 1.318 MB / 1.139 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.9081, allocations: 12 kB / 1.139 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9081, allocations: 0 / 1.139 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9081, allocations: 7.984 kB / 1.139 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.9126, allocations: 2.426 MB / 1.142 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9126, allocations: 0 / 1.142 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.9134, allocations: 187.8 kB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006565/0.9141, allocations: 121.5 kB / 1.142 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.9142, allocations: 27.98 kB / 1.142 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.917, allocations: 2.875 MB / 1.145 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9171, allocations: 0 / 1.145 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.9199, allocations: 1.231 MB / 1.146 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.9204, allocations: 315.5 kB / 1.146 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.9206, allocations: 23.91 kB / 1.146 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.9215, allocations: 81.78 kB / 1.146 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.9217, allocations: 89 kB / 1.146 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.9218, allocations: 43.97 kB / 1.146 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008222/0.9227, allocations: 0.5654 MB / 1.147 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9227, allocations: 0 / 1.147 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001243/0.9239, allocations: 447.2 kB / 1.147 GB, free: 5.078 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.9257, allocations: 0.7238 MB / 1.148 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00242/0.9282, allocations: 1.142 MB / 1.149 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9282, allocations: 0 / 1.149 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.9296, allocations: 0.7373 MB / 1.15 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.9313, allocations: 318 kB / 1.15 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.9363, allocations: 2.626 MB / 1.153 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.9371, allocations: 1.107 MB / 1.154 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9383, allocations: 311.6 kB / 1.154 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.9387, allocations: 119.4 kB / 1.154 GB, free: 14.1 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.9387, allocations: 0 / 1.154 GB, free: 14.1 MB / 0.92 GB Notification: Performance of Templates: time 0.03145/0.9701, allocations: 18.79 MB / 1.173 GB, free: 11.5 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches