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.00109/0.00109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001186/0.001186, allocations: 191 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 69.2 kB / 0.9116 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1888/0.5241, allocations: 173.8 MB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6239/1.148, allocations: 15.47 MB / 1.253 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/1.15, allocations: 30.25 kB / 1.253 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/1.152, allocations: 0.5221 MB / 1.253 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/1.158, allocations: 1.439 MB / 1.255 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004644/1.163, allocations: 1.523 MB / 1.256 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00497/1.168, allocations: 2.908 MB / 1.259 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/1.171, allocations: 1.824 MB / 1.261 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/1.176, allocations: 1.393 MB / 1.262 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.178, allocations: 1.078 MB / 1.263 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003947/1.178, allocations: 196.2 kB / 1.263 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/1.181, allocations: 1.346 MB / 1.265 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006621/1.182, allocations: 0.5699 MB / 1.265 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/1.184, allocations: 1.035 MB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004938/1.189, allocations: 3.036 MB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.189, allocations: 0 / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.189, allocations: 2.953 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.185e-05/1.189, allocations: 0 / 1.269 GB, free: 5.02 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.004766/1.193, allocations: 2.3 MB / 1.271 GB, free: 19.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.194, allocations: 10.19 kB / 1.271 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/1.197, allocations: 462.2 kB / 1.272 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/1.199, allocations: 1.099 MB / 1.273 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/1.199, allocations: 120.1 kB / 1.273 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/1.199, allocations: 161.6 kB / 1.273 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/1.203, allocations: 1.783 MB / 1.275 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/1.203, allocations: 4.469 kB / 1.275 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/1.203, allocations: 78.95 kB / 1.275 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-05/1.203, allocations: 45.53 kB / 1.275 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/1.207, allocations: 1.775 MB / 1.277 GB, free: 19.17 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.009226/1.216, allocations: 6.179 MB / 1.283 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/1.219, allocations: 1.56 MB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.22, allocations: 0.5652 MB / 1.285 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009481/1.221, allocations: 0.888 MB / 1.286 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/1.223, allocations: 0.7975 MB / 1.286 GB, free: 14.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 4.448e-06/1.223, allocations: 0.9375 kB / 1.286 GB, free: 14.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004998/1.228, allocations: 1.883 MB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.228, allocations: 195.1 kB / 1.288 GB, free: 14.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.229, allocations: 0.9858 MB / 1.289 GB, free: 14.35 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.23, allocations: 53.11 kB / 1.289 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.23, allocations: 0.6567 MB / 1.29 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/1.23, allocations: 422.7 kB / 1.291 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/1.231, allocations: 229.1 kB / 1.291 GB, free: 13.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.231, allocations: 355.3 kB / 1.291 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/1.232, allocations: 455.3 kB / 1.292 GB, free: 13.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.233, allocations: 0.601 MB / 1.292 GB, free: 13.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/1.235, allocations: 1.039 MB / 1.293 GB, free: 13.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.235, allocations: 1.344 kB / 1.293 GB, free: 13.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003114/1.238, allocations: 1.35 MB / 1.294 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.238, allocations: 8.938 kB / 1.294 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.238, allocations: 1.812 kB / 1.294 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/1.239, allocations: 83.98 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.24, allocations: 294.6 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.242, allocations: 1.663 MB / 1.296 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.244, allocations: 156.2 kB / 1.297 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.244, allocations: 54.52 kB / 1.297 GB, free: 11.66 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.0008829/1.245, allocations: 385 kB / 1.297 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.245, allocations: 143.5 kB / 1.297 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/1.249, allocations: 1.599 MB / 1.299 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.249, allocations: 13.41 kB / 1.299 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.249, allocations: 7.781 kB / 1.299 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.249, allocations: 11.41 kB / 1.299 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/1.255, allocations: 3.159 MB / 1.302 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.255, allocations: 2.906 kB / 1.302 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.256, allocations: 270.6 kB / 1.302 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/1.256, allocations: 72.33 kB / 1.302 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.256, allocations: 43.03 kB / 1.302 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.258, allocations: 1.674 MB / 1.304 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.258, allocations: 0 / 1.304 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/1.263, allocations: 2.179 MB / 1.306 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007831/1.263, allocations: 394.5 kB / 1.306 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/1.264, allocations: 32.41 kB / 1.306 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.265, allocations: 122.2 kB / 1.306 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.265, allocations: 98.41 kB / 1.307 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.265, allocations: 60.11 kB / 1.307 GB, free: 9.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009494/1.266, allocations: 0.685 MB / 1.307 GB, free: 8.984 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.266, allocations: 1.031 kB / 1.307 GB, free: 8.984 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001678/1.268, allocations: 0.5501 MB / 1.308 GB, free: 8.891 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.00224/1.27, allocations: 0.7072 MB / 1.309 GB, free: 8.676 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004076/1.274, allocations: 1.695 MB / 1.31 GB, free: 8.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/1.274, allocations: 7.344 kB / 1.31 GB, free: 8.512 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.276, allocations: 0.7576 MB / 1.311 GB, free: 8.391 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.278, allocations: 0.5911 MB / 1.312 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/1.284, allocations: 3.579 MB / 1.315 GB, free: 6.492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/1.285, allocations: 1.305 MB / 1.316 GB, free: 5.754 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002169/1.287, allocations: 442.1 kB / 1.317 GB, free: 5.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/1.288, allocations: 154.6 kB / 1.317 GB, free: 5.617 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.288, allocations: 0 / 1.317 GB, free: 5.617 MB / 1.014 GB Notification: Performance of Templates: time 0.04827/1.336, allocations: 26.75 MB / 1.343 GB, free: 13.75 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