Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001605/0.001605, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001848/0.001848, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.68e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1947/0.1948, allocations: 135.9 MB / 1.114 GB, free: 3.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2116, allocations: 9.954 MB / 1.124 GB, free: 9.562 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.2126, allocations: 27.81 kB / 1.124 GB, free: 9.535 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2137, allocations: 285.5 kB / 1.124 GB, free: 9.254 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.2169, allocations: 1.021 MB / 1.125 GB, free: 8.234 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.2198, allocations: 1.136 MB / 1.126 GB, free: 7.105 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.2226, allocations: 1.814 MB / 1.128 GB, free: 5.281 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.2242, allocations: 0.9319 MB / 1.129 GB, free: 4.312 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.2266, allocations: 1.056 MB / 1.13 GB, free: 3.266 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008023/0.2274, allocations: 0.5141 MB / 1.13 GB, free: 2.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.2276, allocations: 144 kB / 1.131 GB, free: 2.609 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2299, allocations: 1.029 MB / 1.132 GB, free: 1.578 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.2303, allocations: 406.7 kB / 1.132 GB, free: 1.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.2309, allocations: 470.8 kB / 1.132 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.5688/0.7997, allocations: 2.455 MB / 1.135 GB, free: 50.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7997, allocations: 0 / 1.135 GB, free: 50.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7997, allocations: 0 / 1.135 GB, free: 50.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.7997, allocations: 0 / 1.135 GB, free: 50.21 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002753/0.8025, allocations: 1.723 MB / 1.137 GB, free: 49.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8025, allocations: 9.062 kB / 1.137 GB, free: 49.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.8047, allocations: 323.7 kB / 1.137 GB, free: 49.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.806, allocations: 0.8629 MB / 1.138 GB, free: 49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.806, allocations: 73.22 kB / 1.138 GB, free: 49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.8062, allocations: 106.6 kB / 1.138 GB, free: 49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.808, allocations: 1.508 MB / 1.139 GB, free: 48.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.808, allocations: 0 / 1.139 GB, free: 48.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8081, allocations: 45.3 kB / 1.139 GB, free: 48.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.8081, allocations: 25.25 kB / 1.139 GB, free: 48.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.8101, allocations: 1.281 MB / 1.141 GB, free: 48.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.8146, allocations: 2.628 MB / 1.143 GB, free: 47.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.8164, allocations: 1.017 MB / 1.144 GB, free: 47.63 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.8171, allocations: 408 kB / 1.145 GB, free: 47.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.8173, allocations: 58.12 kB / 1.145 GB, free: 47.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.8184, allocations: 0.8653 MB / 1.146 GB, free: 47.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.737e-06/0.8184, allocations: 2.547 kB / 1.146 GB, free: 47.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=103): time 0.003973/0.8224, allocations: 1.52 MB / 1.147 GB, free: 47.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.8225, allocations: 207.7 kB / 1.147 GB, free: 46.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.8233, allocations: 0.7712 MB / 1.148 GB, free: 46.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.8234, allocations: 52.89 kB / 1.148 GB, free: 46.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.8237, allocations: 478.5 kB / 1.148 GB, free: 46.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.8239, allocations: 346.2 kB / 1.149 GB, free: 46.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.8241, allocations: 207.6 kB / 1.149 GB, free: 46.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.8242, allocations: 341.4 kB / 1.149 GB, free: 45.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/0.8249, allocations: 384.3 kB / 1.15 GB, free: 45.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.8257, allocations: 0.6985 MB / 1.15 GB, free: 45.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.8272, allocations: 0.8293 MB / 1.151 GB, free: 45.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8272, allocations: 0 / 1.151 GB, free: 45.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002568/0.8298, allocations: 1.16 MB / 1.152 GB, free: 45.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8298, allocations: 5.719 kB / 1.152 GB, free: 45.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8298, allocations: 1.031 kB / 1.152 GB, free: 45.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.8305, allocations: 117.9 kB / 1.152 GB, free: 45.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.8315, allocations: 218.8 kB / 1.153 GB, free: 45.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.8338, allocations: 2.804 MB / 1.155 GB, free: 43.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8348, allocations: 113 kB / 1.155 GB, free: 43.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.8349, allocations: 48.83 kB / 1.156 GB, free: 43.02 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005378/0.8355, allocations: 314.6 kB / 1.156 GB, free: 42.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.8357, allocations: 105.5 kB / 1.156 GB, free: 42.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.8384, allocations: 1.344 MB / 1.157 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8384, allocations: 11.56 kB / 1.157 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8384, allocations: 0 / 1.157 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.8384, allocations: 14.45 kB / 1.157 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.8423, allocations: 2.301 MB / 1.16 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.8423, allocations: 0 / 1.16 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.8431, allocations: 202.2 kB / 1.16 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005456/0.8437, allocations: 101.7 kB / 1.16 GB, free: 42.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.8437, allocations: 35.14 kB / 1.16 GB, free: 42.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.846, allocations: 2.828 MB / 1.163 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.846, allocations: 3.281 kB / 1.163 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.8485, allocations: 1.266 MB / 1.164 GB, free: 39.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.8489, allocations: 250.2 kB / 1.164 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.8491, allocations: 25.69 kB / 1.164 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.8499, allocations: 80.31 kB / 1.164 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.8501, allocations: 89.25 kB / 1.164 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.8502, allocations: 43.66 kB / 1.164 GB, free: 39.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006109/0.8508, allocations: 0.5482 MB / 1.165 GB, free: 39.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8508, allocations: 1.203 kB / 1.165 GB, free: 39.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001226/0.852, allocations: 475.5 kB / 1.165 GB, free: 39.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002289/0.8543, allocations: 0.7765 MB / 1.166 GB, free: 39.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.8568, allocations: 1.152 MB / 1.167 GB, free: 39.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8568, allocations: 1 kB / 1.167 GB, free: 39.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.8583, allocations: 0.7281 MB / 1.168 GB, free: 38.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.8598, allocations: 356.5 kB / 1.168 GB, free: 38.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.8635, allocations: 2.095 MB / 1.17 GB, free: 37.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.864, allocations: 0.5198 MB / 1.171 GB, free: 37.87 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009935/0.865, allocations: 314.4 kB / 1.171 GB, free: 37.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.8654, allocations: 122.8 kB / 1.171 GB, free: 37.81 MB / 1.076 GB Notification: Performance of SimCode: time 8.52e-07/0.8654, allocations: 1.125 kB / 1.171 GB, free: 37.81 MB / 1.076 GB Notification: Performance of Templates: time 0.04143/0.9068, allocations: 20.59 MB / 1.191 GB, free: 35.77 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.087800770998001]