Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 114 kB / 16.42 MB, free: 6.449 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.001698/0.001698, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.127/2.127, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7439, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1936/0.9376, allocations: 175.2 MB / 1.26 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.9561, allocations: 15.54 MB / 1.275 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.9575, allocations: 31.81 kB / 1.275 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.9593, allocations: 0.6092 MB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.9634, allocations: 1.527 MB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.9674, allocations: 1.669 MB / 1.279 GB, free: 11.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.9707, allocations: 2.755 MB / 1.281 GB, free: 8.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.9733, allocations: 1.906 MB / 1.283 GB, free: 6.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.9767, allocations: 1.391 MB / 1.285 GB, free: 5.027 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.9782, allocations: 1.031 MB / 1.286 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.9787, allocations: 196 kB / 1.286 GB, free: 3.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.9813, allocations: 1.334 MB / 1.287 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.982, allocations: 0.5685 MB / 1.288 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.9833, allocations: 0.9951 MB / 1.289 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.9874, allocations: 2.964 MB / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9875, allocations: 0 / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.776e-06/0.9875, allocations: 0 / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.817e-05/0.9876, allocations: 3.938 kB / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005382/0.993, allocations: 2.275 MB / 1.294 GB, free: 11.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.993, allocations: 8.031 kB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.9964, allocations: 473 kB / 1.294 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.9987, allocations: 1.14 MB / 1.295 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.9988, allocations: 119.2 kB / 1.295 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.9991, allocations: 156 kB / 1.296 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/1.003, allocations: 1.784 MB / 1.297 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/1.003, allocations: 3.938 kB / 1.297 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/1.003, allocations: 72 kB / 1.297 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/1.003, allocations: 51.98 kB / 1.297 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/1.006, allocations: 1.764 MB / 1.299 GB, free: 5.895 MB / 1.029 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.008801/1.015, allocations: 5.825 MB / 1.305 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.018, allocations: 1.56 MB / 1.306 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/1.019, allocations: 0.5746 MB / 1.307 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/1.02, allocations: 0.8789 MB / 1.308 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/1.021, allocations: 0.8011 MB / 1.309 GB, free: 11.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 3.577e-06/1.021, allocations: 0 / 1.309 GB, free: 11.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=126): time 0.004852/1.026, allocations: 1.891 MB / 1.31 GB, free: 9.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/1.026, allocations: 192.9 kB / 1.311 GB, free: 9.547 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.028, allocations: 0.9795 MB / 1.311 GB, free: 8.551 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.028, allocations: 57.7 kB / 1.312 GB, free: 8.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/1.028, allocations: 0.6604 MB / 1.312 GB, free: 7.816 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/1.029, allocations: 421.9 kB / 1.313 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/1.029, allocations: 234.8 kB / 1.313 GB, free: 7.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.029, allocations: 349.9 kB / 1.313 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/1.03, allocations: 450.4 kB / 1.314 GB, free: 6.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/1.031, allocations: 0.5903 MB / 1.314 GB, free: 5.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/1.033, allocations: 1.042 MB / 1.315 GB, free: 4.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.034, allocations: 0 / 1.315 GB, free: 4.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003074/1.037, allocations: 1.351 MB / 1.316 GB, free: 3.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.037, allocations: 8 kB / 1.316 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.037, allocations: 3.938 kB / 1.317 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.037, allocations: 92.91 kB / 1.317 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.039, allocations: 291.6 kB / 1.317 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/1.041, allocations: 1.646 MB / 1.318 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.042, allocations: 135 kB / 1.319 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.042, allocations: 51.95 kB / 1.319 GB, free: 0.957 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007648/1.043, allocations: 387.4 kB / 1.319 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/1.043, allocations: 138.3 kB / 1.319 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/1.047, allocations: 1.606 MB / 1.321 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/1.047, allocations: 11.92 kB / 1.321 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.047, allocations: 0 / 1.321 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/1.048, allocations: 398.9 kB / 1.321 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.048, allocations: 31.92 kB / 1.321 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.049, allocations: 81.81 kB / 1.321 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/1.049, allocations: 101.1 kB / 1.321 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003569/1.053, allocations: 1.49 MB / 1.323 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00384/1.057, allocations: 2.206 MB / 1.325 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000997/1.058, allocations: 0.5764 MB / 1.325 GB, free: 9.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001001/1.059, allocations: 0.6839 MB / 1.326 GB, free: 9.184 MB / 1.061 GB Notification: Performance of Backend: time 6.11e-07/1.059, allocations: 0 / 1.326 GB, free: 9.184 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004522/1.063, allocations: 1.725 MB / 1.328 GB, free: 7.684 MB / 1.061 GB Notification: Performance of SimCode: time 0.005263/1.069, allocations: 3.244 MB / 1.331 GB, free: 4.398 MB / 1.061 GB Notification: Performance of Templates: time 0.04706/1.116, allocations: 29.4 MB / 1.36 GB, free: 7.293 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches