Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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_latest_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_latest_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.001694/0.001694, allocations: 108 kB / 15.61 MB, free: 152 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.002158/0.002158, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.8 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1959/0.5542, allocations: 176.2 MB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5757/1.13, allocations: 15.65 MB / 1.256 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/1.131, allocations: 29.19 kB / 1.256 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/1.133, allocations: 0.6136 MB / 1.256 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/1.137, allocations: 1.57 MB / 1.258 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/1.141, allocations: 1.669 MB / 1.259 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003489/1.144, allocations: 2.897 MB / 1.262 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/1.146, allocations: 1.848 MB / 1.264 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/1.15, allocations: 1.38 MB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/1.151, allocations: 1.044 MB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/1.151, allocations: 196.7 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/1.154, allocations: 1.313 MB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/1.154, allocations: 0.5657 MB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/1.156, allocations: 1.028 MB / 1.269 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/1.16, allocations: 2.957 MB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.16, allocations: 1.719 kB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.16, allocations: 0 / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.266e-05/1.16, allocations: 0 / 1.272 GB, free: 5.113 MB / 0.9981 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.004826/1.165, allocations: 2.308 MB / 1.274 GB, free: 20.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.165, allocations: 9.094 kB / 1.274 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.168, allocations: 461.7 kB / 1.275 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/1.17, allocations: 1.098 MB / 1.276 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.17, allocations: 121.9 kB / 1.276 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/1.17, allocations: 161.1 kB / 1.276 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/1.174, allocations: 1.786 MB / 1.278 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/1.174, allocations: 8.234 kB / 1.278 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.174, allocations: 71.22 kB / 1.278 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/1.174, allocations: 49.58 kB / 1.278 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/1.177, allocations: 1.769 MB / 1.28 GB, free: 19.26 MB / 1.014 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.008662/1.186, allocations: 6.199 MB / 1.286 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.189, allocations: 1.566 MB / 1.287 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009621/1.19, allocations: 0.5645 MB / 1.288 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009277/1.191, allocations: 0.886 MB / 1.289 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/1.192, allocations: 0.7976 MB / 1.29 GB, free: 15.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 2.615e-06/1.192, allocations: 2.344 kB / 1.29 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004732/1.197, allocations: 1.878 MB / 1.291 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.197, allocations: 197.8 kB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.198, allocations: 0.9936 MB / 1.293 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.198, allocations: 58.36 kB / 1.293 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.199, allocations: 0.6524 MB / 1.293 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/1.199, allocations: 425.6 kB / 1.294 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/1.199, allocations: 229.2 kB / 1.294 GB, free: 13.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.199, allocations: 348.5 kB / 1.294 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/1.2, allocations: 452.2 kB / 1.295 GB, free: 13.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.201, allocations: 0.5977 MB / 1.295 GB, free: 13.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/1.203, allocations: 1.036 MB / 1.296 GB, free: 13.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.203, allocations: 1.094 kB / 1.296 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003001/1.206, allocations: 1.349 MB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.206, allocations: 10.53 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.206, allocations: 2.656 kB / 1.298 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.207, allocations: 83.84 kB / 1.298 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.208, allocations: 292.2 kB / 1.298 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/1.21, allocations: 1.65 MB / 1.3 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.212, allocations: 142.1 kB / 1.3 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.212, allocations: 54.58 kB / 1.3 GB, free: 11.73 MB / 1.014 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.0007224/1.213, allocations: 388.4 kB / 1.3 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/1.213, allocations: 137.5 kB / 1.3 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/1.216, allocations: 1.612 MB / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.216, allocations: 14.16 kB / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.216, allocations: 0 / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.216, allocations: 10.47 kB / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/1.222, allocations: 3.159 MB / 1.305 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.222, allocations: 0 / 1.305 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.223, allocations: 270.3 kB / 1.305 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.224, allocations: 74.3 kB / 1.305 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.059e-05/1.224, allocations: 37.59 kB / 1.305 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.226, allocations: 1.682 MB / 1.307 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.226, allocations: 3.984 kB / 1.307 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/1.23, allocations: 2.181 MB / 1.309 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/1.23, allocations: 393.9 kB / 1.309 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.231, allocations: 32.72 kB / 1.31 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.232, allocations: 85.84 kB / 1.31 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/1.232, allocations: 95.28 kB / 1.31 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.232, allocations: 64.56 kB / 1.31 GB, free: 9.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001102/1.233, allocations: 0.6841 MB / 1.31 GB, free: 9.059 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.233, allocations: 0.75 kB / 1.31 GB, free: 9.059 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002062/1.235, allocations: 0.5504 MB / 1.311 GB, free: 8.965 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/1.237, allocations: 0.7087 MB / 1.312 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003892/1.241, allocations: 1.695 MB / 1.313 GB, free: 8.594 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.241, allocations: 1.125 kB / 1.313 GB, free: 8.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.242, allocations: 0.7654 MB / 1.314 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.245, allocations: 0.5701 MB / 1.315 GB, free: 8.398 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/1.249, allocations: 2.874 MB / 1.317 GB, free: 7.277 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/1.25, allocations: 1.311 MB / 1.319 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001705/1.252, allocations: 442 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/1.252, allocations: 151.2 kB / 1.319 GB, free: 6.398 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.252, allocations: 0 / 1.319 GB, free: 6.398 MB / 1.014 GB Notification: Performance of Templates: time 0.04553/1.298, allocations: 26.91 MB / 1.346 GB, free: 13.91 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches