Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside.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.001701/0.001701, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001691/0.001691, allocations: 185.4 kB / 22.22 MB, free: 5.105 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.412/1.412, allocations: 225.6 MB / 251 MB, free: 13.25 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.614/2.614, allocations: 443.5 MB / 0.7322 GB, free: 12.33 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 63.89 kB / 1.061 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8742, allocations: 160.8 MB / 1.218 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2335/1.108, allocations: 177.4 MB / 1.392 GB, free: 5.254 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02061/1.128, allocations: 11.13 MB / 1.403 GB, free: 10.09 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/1.131, allocations: 43.62 kB / 1.403 GB, free: 10.05 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/1.133, allocations: 424.7 kB / 1.403 GB, free: 9.629 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.005425/1.138, allocations: 1.125 MB / 1.404 GB, free: 8.5 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.00703/1.145, allocations: 1.771 MB / 1.406 GB, free: 6.734 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.00526/1.15, allocations: 2.404 MB / 1.408 GB, free: 4.32 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/1.153, allocations: 1.12 MB / 1.409 GB, free: 3.16 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/1.16, allocations: 1.33 MB / 1.411 GB, free: 1.844 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/1.162, allocations: 0.8364 MB / 1.411 GB, free: 1.004 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.0007908/1.163, allocations: 156 kB / 1.412 GB, free: 0.8516 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/1.168, allocations: 1.486 MB / 1.413 GB, free: 15.36 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/1.169, allocations: 450.6 kB / 1.413 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00217/1.171, allocations: 0.7853 MB / 1.414 GB, free: 14.13 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008608/1.18, allocations: 2.595 MB / 1.417 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.18, allocations: 0 / 1.417 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.825e-06/1.18, allocations: 4 kB / 1.417 GB, free: 11.53 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001087/1.18, allocations: 0 / 1.417 GB, free: 11.53 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007039/1.187, allocations: 1.936 MB / 1.419 GB, free: 9.527 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/1.187, allocations: 15.91 kB / 1.419 GB, free: 9.512 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/1.191, allocations: 362.7 kB / 1.419 GB, free: 9.156 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/1.194, allocations: 0.9845 MB / 1.42 GB, free: 8.129 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/1.194, allocations: 94.27 kB / 1.42 GB, free: 8.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/1.194, allocations: 112 kB / 1.42 GB, free: 7.926 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/1.198, allocations: 1.298 MB / 1.421 GB, free: 6.562 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/1.198, allocations: 0 / 1.421 GB, free: 6.562 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.198, allocations: 51.98 kB / 1.421 GB, free: 6.512 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.198, allocations: 28 kB / 1.421 GB, free: 6.484 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/1.201, allocations: 1.453 MB / 1.423 GB, free: 5.023 MB / 1.123 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.008204/1.209, allocations: 4.043 MB / 1.427 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/1.211, allocations: 1.156 MB / 1.428 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/1.212, allocations: 415.6 kB / 1.428 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/1.213, allocations: 429.2 kB / 1.429 GB, free: 14.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/1.214, allocations: 0.6605 MB / 1.429 GB, free: 14.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 3.526e-06/1.214, allocations: 0 / 1.429 GB, free: 14.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.00445/1.219, allocations: 1.614 MB / 1.431 GB, free: 12.37 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.219, allocations: 188.9 kB / 1.431 GB, free: 12.14 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.221, allocations: 0.8825 MB / 1.432 GB, free: 11.24 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.221, allocations: 45.7 kB / 1.432 GB, free: 11.19 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/1.221, allocations: 0.5208 MB / 1.433 GB, free: 10.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/1.222, allocations: 372.8 kB / 1.433 GB, free: 10.29 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/1.222, allocations: 218.8 kB / 1.433 GB, free: 10.07 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.222, allocations: 345.9 kB / 1.433 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/1.223, allocations: 390.4 kB / 1.434 GB, free: 9.348 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/1.224, allocations: 0.5045 MB / 1.434 GB, free: 8.816 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/1.226, allocations: 0.868 MB / 1.435 GB, free: 7.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.226, allocations: 0 / 1.435 GB, free: 7.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002873/1.229, allocations: 1.169 MB / 1.436 GB, free: 6.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/1.229, allocations: 4 kB / 1.436 GB, free: 6.746 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.229, allocations: 0 / 1.436 GB, free: 6.746 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/1.229, allocations: 88.86 kB / 1.436 GB, free: 6.656 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.231, allocations: 235.6 kB / 1.437 GB, free: 6.426 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/1.233, allocations: 1.642 MB / 1.438 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.234, allocations: 135.2 kB / 1.438 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.234, allocations: 47.97 kB / 1.438 GB, free: 4.457 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * 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.0007494/1.235, allocations: 327.2 kB / 1.439 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/1.235, allocations: 127.1 kB / 1.439 GB, free: 4.004 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/1.239, allocations: 1.497 MB / 1.44 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.239, allocations: 12.05 kB / 1.44 GB, free: 2.477 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.239, allocations: 3.984 kB / 1.44 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.239, allocations: 7.969 kB / 1.44 GB, free: 2.465 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 postOpt removeSimpleEquations (simulation): time 0.005981/1.245, allocations: 2.839 MB / 1.443 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.245, allocations: 0 / 1.443 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/1.246, allocations: 199.8 kB / 1.443 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/1.246, allocations: 72.98 kB / 1.443 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/1.246, allocations: 35.97 kB / 1.443 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.249, allocations: 1.686 MB / 1.445 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.249, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/1.253, allocations: 1.87 MB / 1.447 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008408/1.253, allocations: 343.9 kB / 1.447 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/1.254, allocations: 24 kB / 1.447 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.255, allocations: 80.23 kB / 1.447 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.255, allocations: 100.7 kB / 1.447 GB, free: 10.92 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.255, allocations: 43.97 kB / 1.447 GB, free: 10.88 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001274/1.256, allocations: 0.6261 MB / 1.448 GB, free: 10.24 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.256, allocations: 0 / 1.448 GB, free: 10.24 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001687/1.258, allocations: 470.9 kB / 1.449 GB, free: 9.781 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.002607/1.261, allocations: 0.7153 MB / 1.449 GB, free: 9.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002619/1.263, allocations: 1.054 MB / 1.45 GB, free: 8.16 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.263, allocations: 3.859 kB / 1.45 GB, free: 8.156 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/1.265, allocations: 0.6289 MB / 1.451 GB, free: 7.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.267, allocations: 0.5275 MB / 1.451 GB, free: 7.008 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/1.273, allocations: 2.418 MB / 1.454 GB, free: 4.543 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.274, allocations: 1.159 MB / 1.455 GB, free: 3.355 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001531/1.275, allocations: 369.7 kB / 1.455 GB, free: 2.992 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/1.276, allocations: 131.4 kB / 1.455 GB, free: 2.863 MB / 1.154 GB Notification: Performance of SimCode: time 2.294e-06/1.276, allocations: 3.938 kB / 1.455 GB, free: 2.859 MB / 1.154 GB Notification: Performance of Templates: time 0.05009/1.326, allocations: 24.77 MB / 1.48 GB, free: 10.35 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.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.442995734512806]