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.001636/0.001635, allocations: 108 kB / 15.6 MB, free: 132 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.002847/0.002847, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.438 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.403/2.403, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 75.81 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6688, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1769/0.8458, allocations: 154 MB / 1.1 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.8633, allocations: 10.49 MB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.8646, allocations: 19.88 kB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.8659, allocations: 269.8 kB / 1.111 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.8691, allocations: 0.9262 MB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.872, allocations: 1.069 MB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.8742, allocations: 1.628 MB / 1.114 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.8761, allocations: 1.181 MB / 1.115 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.878, allocations: 0.7056 MB / 1.116 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009966/0.879, allocations: 0.6068 MB / 1.116 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.8794, allocations: 132 kB / 1.117 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.8816, allocations: 0.9948 MB / 1.118 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.882, allocations: 386.8 kB / 1.118 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.8829, allocations: 0.6567 MB / 1.119 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.8865, allocations: 2.138 MB / 1.121 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8866, allocations: 0 / 1.121 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8866, allocations: 0 / 1.121 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.8867, allocations: 0 / 1.121 GB, free: 2.055 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.00385/0.8905, allocations: 1.695 MB / 1.122 GB, free: 308 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8906, allocations: 8.031 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.8924, allocations: 274.1 kB / 1.123 GB, free: 24 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.8939, allocations: 0.8822 MB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.894, allocations: 70 kB / 1.124 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.8942, allocations: 96 kB / 1.124 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.8963, allocations: 1.106 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.8964, allocations: 0 / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.8965, allocations: 44 kB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.8965, allocations: 28 kB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.8989, allocations: 1.315 MB / 1.126 GB, free: 12.4 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.005266/0.9042, allocations: 3.222 MB / 1.129 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.9063, allocations: 1.102 MB / 1.13 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.9071, allocations: 424 kB / 1.131 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.9073, allocations: 130 kB / 1.131 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.9085, allocations: 0.6332 MB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.414e-06/0.9085, allocations: 0 / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004342/0.9128, allocations: 1.624 MB / 1.133 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.9129, allocations: 196.9 kB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.9142, allocations: 0.8095 MB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.9143, allocations: 41.7 kB / 1.134 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.9147, allocations: 468.5 kB / 1.134 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.915, allocations: 307.5 kB / 1.135 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.9153, allocations: 182.5 kB / 1.135 GB, free: 3 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9154, allocations: 341.9 kB / 1.135 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.9162, allocations: 357.8 kB / 1.136 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/0.9171, allocations: 481.5 kB / 1.136 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.9187, allocations: 0.7843 MB / 1.137 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9187, allocations: 3.938 kB / 1.137 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002552/0.9212, allocations: 1.084 MB / 1.138 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9213, allocations: 11.94 kB / 1.138 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9213, allocations: 0 / 1.138 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/0.922, allocations: 113.7 kB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.923, allocations: 199.7 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.9261, allocations: 3.076 MB / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/0.9271, allocations: 115.9 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/0.9272, allocations: 43.95 kB / 1.141 GB, free: 12.07 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.0005386/0.9277, allocations: 320.2 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.928, allocations: 98.78 kB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.931, allocations: 1.318 MB / 1.143 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.9311, allocations: 12 kB / 1.143 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9311, allocations: 0 / 1.143 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.9311, allocations: 11.97 kB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.9354, allocations: 2.411 MB / 1.145 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.9355, allocations: 0 / 1.145 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.9363, allocations: 195.8 kB / 1.146 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.9369, allocations: 105.6 kB / 1.146 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.937, allocations: 31.91 kB / 1.146 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.9401, allocations: 3.088 MB / 1.149 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9401, allocations: 0 / 1.149 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.9428, allocations: 1.239 MB / 1.15 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.9434, allocations: 315.5 kB / 1.15 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.9436, allocations: 19.98 kB / 1.15 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.9445, allocations: 75.92 kB / 1.15 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.9447, allocations: 84.81 kB / 1.15 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9448, allocations: 47.97 kB / 1.15 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008341/0.9457, allocations: 0.5693 MB / 1.151 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9457, allocations: 0 / 1.151 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001236/0.9469, allocations: 439.1 kB / 1.151 GB, free: 1.309 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.001935/0.9489, allocations: 0.7216 MB / 1.152 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.9522, allocations: 1.396 MB / 1.154 GB, free: 15.35 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9522, allocations: 3.938 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.9536, allocations: 0.7333 MB / 1.154 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.9552, allocations: 345.3 kB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.9602, allocations: 2.155 MB / 1.157 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.961, allocations: 1.107 MB / 1.158 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001224/0.9623, allocations: 311.6 kB / 1.158 GB, free: 10.65 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.9627, allocations: 119.4 kB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of SimCode: time 2.455e-06/0.9627, allocations: 4 kB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of Templates: time 0.03405/0.9967, allocations: 19.59 MB / 1.177 GB, free: 7.145 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