Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 160.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.667/2.667, allocations: 359.1 MB / 0.6044 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.91 kB / 0.9515 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8788, allocations: 169.9 MB / 1.117 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2242/1.103, allocations: 155.4 MB / 1.269 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02186/1.125, allocations: 14.66 MB / 1.283 GB, free: 2.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/1.127, allocations: 43.62 kB / 1.283 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/1.129, allocations: 0.5934 MB / 1.284 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/1.133, allocations: 1.634 MB / 1.286 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/1.138, allocations: 1.717 MB / 1.287 GB, free: 14.13 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004095/1.142, allocations: 2.933 MB / 1.29 GB, free: 11.19 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/1.144, allocations: 1.455 MB / 1.292 GB, free: 9.676 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/1.149, allocations: 1.477 MB / 1.293 GB, free: 8.238 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/1.15, allocations: 0.9897 MB / 1.294 GB, free: 7.246 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/1.15, allocations: 204 kB / 1.294 GB, free: 7.047 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/1.153, allocations: 1.224 MB / 1.295 GB, free: 5.82 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/1.154, allocations: 0.5841 MB / 1.296 GB, free: 5.234 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.155, allocations: 0.8516 MB / 1.297 GB, free: 4.379 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/1.159, allocations: 3.082 MB / 1.3 GB, free: 1.285 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.159, allocations: 4 kB / 1.3 GB, free: 1.281 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/1.159, allocations: 0 / 1.3 GB, free: 1.281 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.036e-05/1.159, allocations: 0 / 1.3 GB, free: 1.281 MB / 1.139 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.004215/1.163, allocations: 2.305 MB / 1.302 GB, free: 14.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.163, allocations: 8.031 kB / 1.302 GB, free: 14.92 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/1.167, allocations: 0.5255 MB / 1.303 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.169, allocations: 1.073 MB / 1.304 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.169, allocations: 119.2 kB / 1.304 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/1.17, allocations: 160 kB / 1.304 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/1.173, allocations: 2.417 MB / 1.306 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/1.173, allocations: 0 / 1.306 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/1.173, allocations: 75.94 kB / 1.306 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/1.173, allocations: 51.98 kB / 1.306 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/1.177, allocations: 1.713 MB / 1.308 GB, free: 8.508 MB / 1.154 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.008677/1.185, allocations: 4.409 MB / 1.312 GB, free: 3.996 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.188, allocations: 1.26 MB / 1.314 GB, free: 2.734 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.189, allocations: 0.5245 MB / 1.314 GB, free: 2.207 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007278/1.19, allocations: 136.9 kB / 1.314 GB, free: 2.074 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/1.192, allocations: 1.274 MB / 1.316 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 3.868e-06/1.192, allocations: 0 / 1.316 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.005908/1.198, allocations: 1.812 MB / 1.317 GB, free: 14.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/1.198, allocations: 192.9 kB / 1.317 GB, free: 14.61 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.2, allocations: 0.8411 MB / 1.318 GB, free: 13.74 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002671/1.201, allocations: 57.7 kB / 1.318 GB, free: 13.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/1.201, allocations: 0.6886 MB / 1.319 GB, free: 12.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000467/1.202, allocations: 436.2 kB / 1.319 GB, free: 12.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/1.202, allocations: 234.8 kB / 1.32 GB, free: 12.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.202, allocations: 353.9 kB / 1.32 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/1.203, allocations: 446.4 kB / 1.32 GB, free: 11.53 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/1.205, allocations: 0.8027 MB / 1.321 GB, free: 10.64 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.207, allocations: 1.042 MB / 1.322 GB, free: 9.574 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.207, allocations: 3.938 kB / 1.322 GB, free: 9.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003312/1.21, allocations: 1.34 MB / 1.324 GB, free: 8.219 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.21, allocations: 8 kB / 1.324 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.21, allocations: 0 / 1.324 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/1.211, allocations: 88.92 kB / 1.324 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.212, allocations: 287.6 kB / 1.324 GB, free: 7.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/1.214, allocations: 1.528 MB / 1.325 GB, free: 6.199 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.216, allocations: 119.3 kB / 1.326 GB, free: 6.082 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.216, allocations: 47.97 kB / 1.326 GB, free: 6.035 MB / 1.17 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.000842/1.217, allocations: 383.6 kB / 1.326 GB, free: 5.652 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.217, allocations: 131.2 kB / 1.326 GB, free: 5.523 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/1.221, allocations: 1.605 MB / 1.328 GB, free: 3.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.221, allocations: 16 kB / 1.328 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.221, allocations: 0 / 1.328 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.221, allocations: 7.969 kB / 1.328 GB, free: 3.887 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006408/1.227, allocations: 2.743 MB / 1.33 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.227, allocations: 0 / 1.33 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.229, allocations: 271.7 kB / 1.331 GB, free: 0.832 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/1.229, allocations: 72.78 kB / 1.331 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.229, allocations: 31.97 kB / 1.331 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.232, allocations: 1.54 MB / 1.332 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.232, allocations: 4.031 kB / 1.332 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/1.237, allocations: 2.174 MB / 1.334 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.238, allocations: 306.7 kB / 1.335 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/1.238, allocations: 27.92 kB / 1.335 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.239, allocations: 88.05 kB / 1.335 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.24, allocations: 105 kB / 1.335 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.24, allocations: 67.95 kB / 1.335 GB, free: 12.29 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009148/1.241, allocations: 0.5823 MB / 1.335 GB, free: 11.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.241, allocations: 0 / 1.335 GB, free: 11.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00168/1.242, allocations: 0.5688 MB / 1.336 GB, free: 11.13 MB / 1.186 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.002392/1.245, allocations: 0.7306 MB / 1.337 GB, free: 10.61 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003462/1.248, allocations: 1.232 MB / 1.338 GB, free: 9.363 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.248, allocations: 8.438 kB / 1.338 GB, free: 9.355 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.25, allocations: 0.7089 MB / 1.339 GB, free: 8.637 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.253, allocations: 498.7 kB / 1.339 GB, free: 8.164 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/1.259, allocations: 2.924 MB / 1.342 GB, free: 5.211 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.26, allocations: 0.7327 MB / 1.343 GB, free: 4.438 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001943/1.262, allocations: 417.5 kB / 1.343 GB, free: 4.027 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/1.263, allocations: 152.4 kB / 1.343 GB, free: 3.879 MB / 1.186 GB Notification: Performance of SimCode: time 1.724e-06/1.263, allocations: 0 / 1.343 GB, free: 3.879 MB / 1.186 GB Notification: Performance of Templates: time 0.0481/1.311, allocations: 25.04 MB / 1.368 GB, free: 11.32 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.863321001059376]