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 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_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.001102/0.001102, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00869/0.00869, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8.594 kB / 0.9027 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3242, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1864/0.5106, allocations: 171.5 MB / 1.226 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.5322, allocations: 15.48 MB / 1.241 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.5343, allocations: 27.81 kB / 1.241 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.5365, allocations: 0.5125 MB / 1.242 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.5421, allocations: 1.415 MB / 1.243 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.547, allocations: 1.507 MB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004708/0.5517, allocations: 3.331 MB / 1.248 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.5547, allocations: 1.561 MB / 1.249 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6554/1.21, allocations: 1.081 MB / 1.25 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/1.213, allocations: 0.8619 MB / 1.251 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003693/1.213, allocations: 48.34 kB / 1.251 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/1.217, allocations: 1.344 MB / 1.253 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005293/1.217, allocations: 396.4 kB / 1.253 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/1.218, allocations: 0.8567 MB / 1.254 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00412/1.222, allocations: 2.859 MB / 1.257 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.222, allocations: 1.297 kB / 1.257 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.223, allocations: 0 / 1.257 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.251e-05/1.223, allocations: 1.062 kB / 1.257 GB, free: 5.316 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.003943/1.227, allocations: 1.922 MB / 1.259 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.227, allocations: 13.92 kB / 1.259 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/1.23, allocations: 474.5 kB / 1.259 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.233, allocations: 1.097 MB / 1.26 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/1.233, allocations: 122.5 kB / 1.26 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/1.233, allocations: 163.3 kB / 1.26 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/1.237, allocations: 1.792 MB / 1.262 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/1.237, allocations: 2.906 kB / 1.262 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.237, allocations: 68.81 kB / 1.262 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/1.237, allocations: 46.27 kB / 1.262 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/1.24, allocations: 1.784 MB / 1.264 GB, free: 3.504 MB / 0.9981 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.01034/1.251, allocations: 6.203 MB / 1.27 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/1.254, allocations: 1.574 MB / 1.272 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.255, allocations: 0.5653 MB / 1.272 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/1.256, allocations: 0.8837 MB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/1.257, allocations: 0.8123 MB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.136e-06/1.257, allocations: 0 / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005517/1.263, allocations: 1.903 MB / 1.276 GB, free: 15.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.263, allocations: 195.8 kB / 1.276 GB, free: 14.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.265, allocations: 0.9865 MB / 1.277 GB, free: 14.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/1.265, allocations: 54.58 kB / 1.277 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/1.265, allocations: 0.6541 MB / 1.277 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/1.266, allocations: 418.9 kB / 1.278 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.266, allocations: 99.34 kB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.266, allocations: 354.8 kB / 1.278 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/1.267, allocations: 455.6 kB / 1.279 GB, free: 13.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.268, allocations: 0.6012 MB / 1.279 GB, free: 13.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.27, allocations: 1.041 MB / 1.28 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.27, allocations: 1.094 kB / 1.28 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00335/1.273, allocations: 1.362 MB / 1.282 GB, free: 13.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.273, allocations: 9.25 kB / 1.282 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.273, allocations: 3.312 kB / 1.282 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.274, allocations: 87.81 kB / 1.282 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.275, allocations: 291.6 kB / 1.282 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/1.277, allocations: 1.548 MB / 1.284 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.279, allocations: 176.3 kB / 1.284 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.279, allocations: 57.02 kB / 1.284 GB, free: 12.03 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.0009655/1.28, allocations: 375.3 kB / 1.284 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/1.281, allocations: 141.9 kB / 1.284 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/1.284, allocations: 1.615 MB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.284, allocations: 15.52 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.284, allocations: 4.219 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.284, allocations: 9.281 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/1.291, allocations: 3.176 MB / 1.289 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.291, allocations: 5.188 kB / 1.289 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.292, allocations: 271.5 kB / 1.289 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/1.293, allocations: 87.16 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.293, allocations: 39.31 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.295, allocations: 1.562 MB / 1.291 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.295, allocations: 0 / 1.291 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/1.299, allocations: 2.193 MB / 1.293 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.3, allocations: 408.7 kB / 1.293 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/1.301, allocations: 32.69 kB / 1.293 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.303, allocations: 137.3 kB / 1.294 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.303, allocations: 98.58 kB / 1.294 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.303, allocations: 61.5 kB / 1.294 GB, free: 9.504 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001302/1.304, allocations: 0.6797 MB / 1.294 GB, free: 9.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.6e-07/1.304, allocations: 0 / 1.294 GB, free: 9.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002024/1.306, allocations: 0.5486 MB / 1.295 GB, free: 9.305 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.00188/1.308, allocations: 0.7188 MB / 1.296 GB, free: 9.094 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002727/1.311, allocations: 1.286 MB / 1.297 GB, free: 8.949 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.311, allocations: 448 / 1.297 GB, free: 8.949 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.312, allocations: 0.7661 MB / 1.298 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.315, allocations: 0.5358 MB / 1.298 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.322, allocations: 3.657 MB / 1.302 GB, free: 6.934 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/1.323, allocations: 1.305 MB / 1.303 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001973/1.325, allocations: 439.7 kB / 1.303 GB, free: 6.062 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/1.325, allocations: 150.7 kB / 1.304 GB, free: 6.055 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.325, allocations: 7.719 kB / 1.304 GB, free: 6.051 MB / 1.014 GB Notification: Performance of Templates: time 0.04318/1.368, allocations: 25.66 MB / 1.329 GB, free: 15.6 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