Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 71.89 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.9233, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.232/1.155, allocations: 177 MB / 1.391 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02508/1.18, allocations: 15.94 MB / 1.407 GB, free: 5.582 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/1.182, allocations: 43.62 kB / 1.407 GB, free: 5.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/1.185, allocations: 0.6402 MB / 1.408 GB, free: 4.895 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/1.19, allocations: 1.62 MB / 1.409 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005268/1.196, allocations: 1.74 MB / 1.411 GB, free: 1.539 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005491/1.201, allocations: 2.918 MB / 1.414 GB, free: 14.61 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/1.204, allocations: 1.478 MB / 1.415 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/1.209, allocations: 1.459 MB / 1.417 GB, free: 11.65 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/1.211, allocations: 1.07 MB / 1.418 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005505/1.211, allocations: 200 kB / 1.418 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/1.215, allocations: 1.388 MB / 1.419 GB, free: 8.988 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/1.216, allocations: 0.5802 MB / 1.42 GB, free: 8.406 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/1.217, allocations: 1.026 MB / 1.421 GB, free: 7.375 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005997/1.223, allocations: 3.031 MB / 1.424 GB, free: 4.336 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.223, allocations: 0 / 1.424 GB, free: 4.336 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.733e-06/1.223, allocations: 3.938 kB / 1.424 GB, free: 4.332 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.116e-05/1.223, allocations: 4 kB / 1.424 GB, free: 4.328 MB / 1.123 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.005464/1.229, allocations: 2.369 MB / 1.426 GB, free: 1.891 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.229, allocations: 8.031 kB / 1.426 GB, free: 1.883 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/1.232, allocations: 474.3 kB / 1.426 GB, free: 1.418 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/1.234, allocations: 1.145 MB / 1.428 GB, free: 232 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.234, allocations: 119.2 kB / 1.428 GB, free: 112 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/1.235, allocations: 160 kB / 1.428 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/1.238, allocations: 1.784 MB / 1.43 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/1.238, allocations: 3.938 kB / 1.43 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.238, allocations: 68 kB / 1.43 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/1.238, allocations: 51.98 kB / 1.43 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/1.242, allocations: 1.768 MB / 1.431 GB, free: 12.2 MB / 1.139 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.0104/1.252, allocations: 6.163 MB / 1.437 GB, free: 5.672 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.255, allocations: 1.492 MB / 1.439 GB, free: 4.117 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.256, allocations: 0.5133 MB / 1.439 GB, free: 3.602 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.257, allocations: 0.8867 MB / 1.44 GB, free: 2.531 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/1.259, allocations: 0.7934 MB / 1.441 GB, free: 1.715 MB / 1.139 GB Notification: Performance of pre-optimization done (n=126): time 2.836e-06/1.259, allocations: 0 / 1.441 GB, free: 1.715 MB / 1.139 GB Notification: Performance of matching and sorting (n=126): time 0.005111/1.264, allocations: 1.895 MB / 1.443 GB, free: 15.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.264, allocations: 192.9 kB / 1.443 GB, free: 15.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/1.265, allocations: 0.9872 MB / 1.444 GB, free: 14.56 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/1.266, allocations: 57.7 kB / 1.444 GB, free: 14.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/1.266, allocations: 0.6735 MB / 1.445 GB, free: 13.82 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/1.267, allocations: 436.2 kB / 1.445 GB, free: 13.39 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003849/1.267, allocations: 234.8 kB / 1.445 GB, free: 13.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.267, allocations: 345.9 kB / 1.446 GB, free: 12.81 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/1.268, allocations: 450.4 kB / 1.446 GB, free: 12.37 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.269, allocations: 0.6019 MB / 1.447 GB, free: 11.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/1.271, allocations: 1.038 MB / 1.448 GB, free: 10.67 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.271, allocations: 0 / 1.448 GB, free: 10.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003255/1.275, allocations: 1.356 MB / 1.449 GB, free: 9.301 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.275, allocations: 8 kB / 1.449 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.275, allocations: 0 / 1.449 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/1.275, allocations: 88.92 kB / 1.449 GB, free: 9.203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.277, allocations: 291.6 kB / 1.449 GB, free: 8.918 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/1.279, allocations: 1.65 MB / 1.451 GB, free: 7.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.28, allocations: 145.6 kB / 1.451 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.28, allocations: 59.89 kB / 1.451 GB, free: 6.922 MB / 1.154 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.0008406/1.281, allocations: 383.2 kB / 1.452 GB, free: 6.539 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/1.282, allocations: 147.1 kB / 1.452 GB, free: 6.395 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/1.285, allocations: 1.602 MB / 1.453 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.285, allocations: 20 kB / 1.453 GB, free: 4.762 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.285, allocations: 0 / 1.453 GB, free: 4.762 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.285, allocations: 7.969 kB / 1.453 GB, free: 4.754 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/1.291, allocations: 3.144 MB / 1.456 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.291, allocations: 4 kB / 1.456 GB, free: 1.543 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.293, allocations: 271.6 kB / 1.457 GB, free: 1.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/1.293, allocations: 72.78 kB / 1.457 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/1.293, allocations: 35.97 kB / 1.457 GB, free: 1.168 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.295, allocations: 1.681 MB / 1.458 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.295, allocations: 8.094 kB / 1.458 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/1.3, allocations: 2.179 MB / 1.461 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/1.301, allocations: 403.8 kB / 1.461 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/1.301, allocations: 27.94 kB / 1.461 GB, free: 12.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.302, allocations: 89.62 kB / 1.461 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.303, allocations: 101.1 kB / 1.461 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.303, allocations: 67.89 kB / 1.461 GB, free: 12.44 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001117/1.304, allocations: 0.68 MB / 1.462 GB, free: 11.75 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.304, allocations: 0 / 1.462 GB, free: 11.75 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001701/1.305, allocations: 0.5533 MB / 1.462 GB, free: 11.2 MB / 1.17 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.002299/1.308, allocations: 0.7118 MB / 1.463 GB, free: 10.65 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.311, allocations: 1.24 MB / 1.464 GB, free: 9.398 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.311, allocations: 448 / 1.464 GB, free: 9.395 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.312, allocations: 0.7088 MB / 1.465 GB, free: 8.676 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.315, allocations: 0.5708 MB / 1.466 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/1.321, allocations: 2.909 MB / 1.468 GB, free: 5.176 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.322, allocations: 1.315 MB / 1.47 GB, free: 3.828 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001848/1.324, allocations: 430.8 kB / 1.47 GB, free: 3.402 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/1.324, allocations: 151.4 kB / 1.47 GB, free: 3.258 MB / 1.17 GB Notification: Performance of SimCode: time 1.132e-06/1.324, allocations: 0 / 1.47 GB, free: 3.258 MB / 1.17 GB Notification: Performance of Templates: time 0.05334/1.377, allocations: 28.01 MB / 1.498 GB, free: 7.543 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.254590442404151]