Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001917/0.001917, allocations: 100.1 kB / 15.88 MB, free: 12 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.002209/0.002209, allocations: 196 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 72.94 kB / 0.899 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3281, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1658/0.494, allocations: 152.2 MB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.508, allocations: 10.58 MB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.5092, allocations: 15.94 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5103, allocations: 234.4 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.5131, allocations: 0.8328 MB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.5157, allocations: 0.9553 MB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.5177, allocations: 1.694 MB / 1.215 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.5192, allocations: 1.059 MB / 1.216 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.5219, allocations: 0.6242 MB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.5229, allocations: 0.595 MB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.5231, allocations: 64 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.5254, allocations: 0.9634 MB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.5258, allocations: 314.8 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.5265, allocations: 0.5982 MB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.5284, allocations: 1.618 MB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5284, allocations: 0 / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5284, allocations: 0 / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.5284, allocations: 4 kB / 1.221 GB, free: 11.28 MB / 0.9825 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.003193/0.5316, allocations: 1.703 MB / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5317, allocations: 8.031 kB / 1.223 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.5334, allocations: 274.1 kB / 1.223 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5347, allocations: 0.8822 MB / 1.224 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.5348, allocations: 74 kB / 1.224 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5349, allocations: 95.94 kB / 1.224 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5368, allocations: 1.11 MB / 1.225 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5369, allocations: 3.984 kB / 1.225 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.537, allocations: 40 kB / 1.225 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.537, allocations: 24 kB / 1.225 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.5392, allocations: 1.319 MB / 1.226 GB, free: 5.613 MB / 0.9825 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.005439/0.5447, allocations: 3.43 MB / 1.23 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5467, allocations: 1.106 MB / 1.231 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.5475, allocations: 420.8 kB / 1.231 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.5478, allocations: 138 kB / 1.231 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.5491, allocations: 0.6254 MB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 3.247e-06/0.5491, allocations: 0 / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004497/0.5536, allocations: 1.627 MB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.5538, allocations: 192.9 kB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.555, allocations: 0.8134 MB / 1.235 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.5551, allocations: 45.7 kB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.5555, allocations: 464.4 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.5558, allocations: 303.6 kB / 1.235 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.5562, allocations: 190.4 kB / 1.236 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5563, allocations: 342 kB / 1.236 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/0.557, allocations: 353.8 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/0.5579, allocations: 477.5 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5594, allocations: 0.7843 MB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5594, allocations: 7.938 kB / 1.237 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002647/0.5621, allocations: 1.076 MB / 1.238 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5621, allocations: 11.94 kB / 1.239 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5621, allocations: 0 / 1.239 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.5629, allocations: 117.7 kB / 1.239 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009449/0.5639, allocations: 211.7 kB / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.5669, allocations: 2.861 MB / 1.242 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.568, allocations: 119.2 kB / 1.242 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/0.5681, allocations: 39.97 kB / 1.242 GB, free: 5.25 MB / 0.9981 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.000601/0.5687, allocations: 299.6 kB / 1.242 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.5689, allocations: 98.78 kB / 1.242 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.5719, allocations: 1.33 MB / 1.243 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5719, allocations: 12 kB / 1.243 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5719, allocations: 0 / 1.243 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.572, allocations: 7.984 kB / 1.243 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.5761, allocations: 2.422 MB / 1.246 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5762, allocations: 0 / 1.246 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.577, allocations: 191.8 kB / 1.246 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006296/0.5777, allocations: 113.5 kB / 1.246 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.5778, allocations: 35.98 kB / 1.246 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5879/1.166, allocations: 2.865 MB / 1.249 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.166, allocations: 1.406 kB / 1.249 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/1.169, allocations: 1.23 MB / 1.25 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/1.17, allocations: 314.1 kB / 1.25 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.17, allocations: 27.72 kB / 1.25 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/1.171, allocations: 83.92 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.171, allocations: 79.42 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.171, allocations: 52.38 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008914/1.172, allocations: 0.568 MB / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.372e-06/1.172, allocations: 0 / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001788/1.174, allocations: 452 kB / 1.252 GB, free: 189.8 MB / 0.9981 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.001842/1.176, allocations: 0.7208 MB / 1.252 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.178, allocations: 1.152 MB / 1.254 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.178, allocations: 0 / 1.254 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/1.179, allocations: 0.7303 MB / 1.254 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.181, allocations: 331.9 kB / 1.255 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.185, allocations: 2.533 MB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/1.185, allocations: 1.101 MB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.186, allocations: 130 kB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.186, allocations: 0 / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04626/1.232, allocations: 27.39 MB / 1.285 GB, free: 177.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches