Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001049/0.001049, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001308/0.001308, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437.7 MB / 0.7117 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5839, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1402/0.7241, allocations: 140.1 MB / 1.159 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.7369, allocations: 9.779 MB / 1.169 GB, free: 9.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.7379, allocations: 19.88 kB / 1.169 GB, free: 9.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.7387, allocations: 206.4 kB / 1.169 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.7412, allocations: 0.7777 MB / 1.17 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.7434, allocations: 0.8395 MB / 1.171 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.7452, allocations: 1.549 MB / 1.172 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7466, allocations: 0.8529 MB / 1.173 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7476, allocations: 0.5252 MB / 1.173 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.7484, allocations: 487.4 kB / 1.174 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7485, allocations: 32 kB / 1.174 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.7501, allocations: 0.7723 MB / 1.175 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.7504, allocations: 251 kB / 1.175 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.7507, allocations: 241 kB / 1.175 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.7525, allocations: 1.582 MB / 1.177 GB, free: 1.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7525, allocations: 4 kB / 1.177 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7525, allocations: 0 / 1.177 GB, free: 1.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.459e-05/0.7526, allocations: 0 / 1.177 GB, free: 1.562 MB / 0.92 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.00284/0.7554, allocations: 1.469 MB / 1.178 GB, free: 36 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7555, allocations: 12.02 kB / 1.178 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.7571, allocations: 282.1 kB / 1.178 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.7584, allocations: 0.844 MB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.7585, allocations: 77.94 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.7587, allocations: 103.9 kB / 1.179 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.7607, allocations: 1.106 MB / 1.18 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.7608, allocations: 0 / 1.18 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7609, allocations: 43.98 kB / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.7609, allocations: 27.94 kB / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.7632, allocations: 1.335 MB / 1.182 GB, free: 12.13 MB / 0.9356 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.005242/0.7685, allocations: 3.458 MB / 1.185 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.7704, allocations: 1.11 MB / 1.186 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.7712, allocations: 432.2 kB / 1.187 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.7715, allocations: 134 kB / 1.187 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.7726, allocations: 0.6332 MB / 1.187 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 2.806e-06/0.7726, allocations: 0 / 1.187 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.004005/0.7766, allocations: 1.655 MB / 1.189 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.7767, allocations: 192.9 kB / 1.189 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7778, allocations: 0.8018 MB / 1.19 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/0.7779, allocations: 41.7 kB / 1.19 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.7782, allocations: 468.4 kB / 1.191 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.7785, allocations: 311.5 kB / 1.191 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.7786, allocations: 16 kB / 1.191 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7787, allocations: 345.9 kB / 1.191 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007637/0.7794, allocations: 361.8 kB / 1.192 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/0.7803, allocations: 481.6 kB / 1.192 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.7811, allocations: 406.8 kB / 1.192 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7811, allocations: 0 / 1.192 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002419/0.7835, allocations: 1.092 MB / 1.193 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7836, allocations: 9.406 kB / 1.193 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.7836, allocations: 3.984 kB / 1.193 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.7843, allocations: 117.6 kB / 1.194 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.7852, allocations: 215.7 kB / 1.194 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.788, allocations: 2.855 MB / 1.197 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.789, allocations: 135.9 kB / 1.197 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.7891, allocations: 47.97 kB / 1.197 GB, free: 12.23 MB / 0.9512 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.7896, allocations: 303.3 kB / 1.197 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.7897, allocations: 102.7 kB / 1.197 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.7927, allocations: 1.345 MB / 1.198 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.7927, allocations: 8 kB / 1.198 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7927, allocations: 4 kB / 1.198 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.7928, allocations: 3.984 kB / 1.198 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.7967, allocations: 2.434 MB / 1.201 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7967, allocations: 0 / 1.201 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.7976, allocations: 195.8 kB / 1.201 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.7982, allocations: 121.5 kB / 1.201 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.7983, allocations: 27.98 kB / 1.201 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.8009, allocations: 2.871 MB / 1.204 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8009, allocations: 7.969 kB / 1.204 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.8034, allocations: 1.246 MB / 1.205 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.8039, allocations: 319.5 kB / 1.205 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.804, allocations: 31.98 kB / 1.206 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.8049, allocations: 103.8 kB / 1.206 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8051, allocations: 80.88 kB / 1.206 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/0.8052, allocations: 43.97 kB / 1.206 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007203/0.8059, allocations: 0.5615 MB / 1.206 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8059, allocations: 0 / 1.206 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001162/0.8071, allocations: 451.2 kB / 1.207 GB, free: 1.59 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/0.8087, allocations: 0.7113 MB / 1.207 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.8109, allocations: 1.158 MB / 1.209 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.811, allocations: 3.938 kB / 1.209 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.8122, allocations: 0.7411 MB / 1.209 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.8137, allocations: 333.9 kB / 1.21 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.8177, allocations: 2.507 MB / 1.212 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.8185, allocations: 1.107 MB / 1.213 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001221/0.8197, allocations: 311.7 kB / 1.213 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.8201, allocations: 123.2 kB / 1.214 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.8201, allocations: 4 kB / 1.214 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of Templates: time 0.03089/0.851, allocations: 18.52 MB / 1.232 GB, free: 8.387 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches