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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001437/0.001437, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7465, allocations: 140.3 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1737/0.9203, allocations: 151.7 MB / 1.098 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.9355, allocations: 10.54 MB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.9369, allocations: 19.88 kB / 1.108 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.938, allocations: 218.5 kB / 1.108 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.941, allocations: 0.7972 MB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.9438, allocations: 0.9285 MB / 1.11 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.9461, allocations: 1.636 MB / 1.112 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.9482, allocations: 1.09 MB / 1.113 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.9509, allocations: 0.6121 MB / 1.113 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.952, allocations: 0.5732 MB / 1.114 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.9524, allocations: 64 kB / 1.114 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.9548, allocations: 0.9594 MB / 1.115 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.9553, allocations: 314.8 kB / 1.115 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009587/0.9563, allocations: 0.5943 MB / 1.116 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.9587, allocations: 1.602 MB / 1.117 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9587, allocations: 0 / 1.117 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9588, allocations: 3.938 kB / 1.117 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.064e-05/0.9588, allocations: 0 / 1.117 GB, free: 5.879 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.004363/0.9632, allocations: 1.687 MB / 1.119 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.9633, allocations: 16.03 kB / 1.119 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.9651, allocations: 266.1 kB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.9668, allocations: 0.8745 MB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.9669, allocations: 74 kB / 1.12 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.967, allocations: 92 kB / 1.12 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.9694, allocations: 1.113 MB / 1.121 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.9694, allocations: 0 / 1.121 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.9696, allocations: 44 kB / 1.121 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.9696, allocations: 24 kB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.9719, allocations: 1.323 MB / 1.123 GB, free: 236 kB / 0.8731 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.005876/0.9778, allocations: 3.228 MB / 1.126 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.9799, allocations: 1.098 MB / 1.127 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.9807, allocations: 417.3 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.981, allocations: 142 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.9822, allocations: 0.616 MB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.9822, allocations: 0 / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004299/0.9865, allocations: 1.635 MB / 1.13 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.9866, allocations: 196.9 kB / 1.13 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9878, allocations: 0.8095 MB / 1.131 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.9879, allocations: 49.7 kB / 1.131 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.9883, allocations: 460.5 kB / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.9886, allocations: 311.5 kB / 1.131 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.9889, allocations: 190.5 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9891, allocations: 342 kB / 1.132 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.9898, allocations: 349.8 kB / 1.132 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/0.9907, allocations: 477.6 kB / 1.133 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.9922, allocations: 0.7921 MB / 1.133 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9922, allocations: 0 / 1.133 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002628/0.9948, allocations: 1.084 MB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.9949, allocations: 8.062 kB / 1.134 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9949, allocations: 0 / 1.134 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.9957, allocations: 117.6 kB / 1.135 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.9966, allocations: 211.7 kB / 1.135 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.9998, allocations: 2.844 MB / 1.138 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.001, allocations: 121.1 kB / 1.138 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.001, allocations: 39.97 kB / 1.138 GB, free: 140 kB / 0.8887 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.0006888/1.002, allocations: 315.3 kB / 1.138 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/1.002, allocations: 98.78 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.005, allocations: 1.314 MB / 1.139 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.005, allocations: 19.98 kB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.005, allocations: 0 / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.005, allocations: 7.969 kB / 1.139 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/1.01, allocations: 2.422 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.01, allocations: 0 / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/1.011, allocations: 199.7 kB / 1.142 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/1.011, allocations: 113.5 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/1.012, allocations: 31.97 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/1.015, allocations: 2.871 MB / 1.145 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.015, allocations: 0 / 1.145 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/1.018, allocations: 1.223 MB / 1.146 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/1.018, allocations: 315.5 kB / 1.146 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/1.019, allocations: 31.89 kB / 1.146 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/1.02, allocations: 79.92 kB / 1.146 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.02, allocations: 80.81 kB / 1.147 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.02, allocations: 43.97 kB / 1.147 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00101/1.021, allocations: 0.5731 MB / 1.147 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.021, allocations: 0 / 1.147 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001507/1.023, allocations: 439.2 kB / 1.148 GB, free: 5.586 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.002214/1.025, allocations: 0.7172 MB / 1.148 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.027, allocations: 1.146 MB / 1.149 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.027, allocations: 4.188 kB / 1.149 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.029, allocations: 0.7293 MB / 1.15 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.031, allocations: 327.1 kB / 1.15 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/1.036, allocations: 2.66 MB / 1.153 GB, free: 124 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/1.037, allocations: 1.095 MB / 1.154 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/1.038, allocations: 123.4 kB / 1.154 GB, free: 14.88 MB / 0.92 GB Notification: Performance of SimCode: time 1.042e-06/1.038, allocations: 4 kB / 1.154 GB, free: 14.88 MB / 0.92 GB Notification: Performance of Templates: time 0.03809/1.076, allocations: 27.23 MB / 1.181 GB, free: 3.707 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/jenkins1/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