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.001912/0.001912, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002062/0.002062, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.149/3.149, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.914e-06/1.914e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.204e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2318/0.2319, allocations: 150 MB / 0.9572 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.2515, allocations: 10.8 MB / 0.9678 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.2529, allocations: 27.75 kB / 0.9678 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2541, allocations: 285.5 kB / 0.9681 GB, free: 0.5586 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.2581, allocations: 1.03 MB / 0.9691 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.2617, allocations: 1.114 MB / 0.9702 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.2648, allocations: 1.806 MB / 0.972 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.2669, allocations: 0.9946 MB / 0.9729 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.27, allocations: 1.075 MB / 0.974 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009427/0.271, allocations: 0.5063 MB / 0.9745 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.2712, allocations: 144 kB / 0.9746 GB, free: 9.887 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.2739, allocations: 1.022 MB / 0.9756 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.2744, allocations: 410.7 kB / 0.976 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.2752, allocations: 478.8 kB / 0.9764 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.2803, allocations: 2.465 MB / 0.9789 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2803, allocations: 0 / 0.9789 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2803, allocations: 0 / 0.9789 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.213e-05/0.2803, allocations: 0 / 0.9789 GB, free: 5.52 MB / 0.9323 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.004315/0.2846, allocations: 1.909 MB / 0.9807 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2847, allocations: 16.03 kB / 0.9807 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.2872, allocations: 446.1 kB / 0.9812 GB, free: 3.113 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.2891, allocations: 0.8487 MB / 0.982 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2892, allocations: 81.98 kB / 0.9821 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.2894, allocations: 107.9 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.2921, allocations: 1.505 MB / 0.9836 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.2921, allocations: 4 kB / 0.9836 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.2922, allocations: 40 kB / 0.9837 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.2923, allocations: 24 kB / 0.9837 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.2948, allocations: 1.143 MB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007694/0.3025, allocations: 3.515 MB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.3046, allocations: 0.8722 MB / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.3054, allocations: 350.5 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3056, allocations: 56.95 kB / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.3071, allocations: 0.8469 MB / 0.9903 GB, free: 9.367 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 3.296e-06/0.3071, allocations: 0 / 0.9903 GB, free: 9.367 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.004847/0.312, allocations: 1.362 MB / 0.9917 GB, free: 7.988 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.3121, allocations: 200.9 kB / 0.9918 GB, free: 7.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.3137, allocations: 0.8901 MB / 0.9927 GB, free: 6.844 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.3138, allocations: 57.69 kB / 0.9928 GB, free: 6.781 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/0.3145, allocations: 0.5548 MB / 0.9933 GB, free: 6.219 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.3149, allocations: 373 kB / 0.9937 GB, free: 5.852 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.3154, allocations: 252.2 kB / 0.9939 GB, free: 5.598 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003577/0.3157, allocations: 0.5434 MB / 0.9944 GB, free: 5.047 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.3165, allocations: 297.8 kB / 0.9947 GB, free: 4.754 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3176, allocations: 0.6737 MB / 0.9954 GB, free: 4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.3191, allocations: 0.7022 MB / 0.9961 GB, free: 3.281 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3191, allocations: 3.984 kB / 0.9961 GB, free: 3.277 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002971/0.3221, allocations: 1.051 MB / 0.9971 GB, free: 2.211 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.3221, allocations: 4 kB / 0.9971 GB, free: 2.207 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3221, allocations: 3.984 kB / 0.9971 GB, free: 2.203 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.3234, allocations: 183.3 kB / 0.9973 GB, free: 2.016 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.3247, allocations: 223.7 kB / 0.9975 GB, free: 1.797 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.3293, allocations: 3.867 MB / 1.001 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3304, allocations: 99.48 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3305, allocations: 51.95 kB / 1.001 GB, free: 13.53 MB / 0.9636 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.0006713/0.3312, allocations: 295 kB / 1.002 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.3315, allocations: 143.3 kB / 1.002 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.3347, allocations: 1.202 MB / 1.003 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.3347, allocations: 12 kB / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3347, allocations: 0 / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.3348, allocations: 7.969 kB / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.3405, allocations: 2.384 MB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3405, allocations: 4 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/0.3414, allocations: 191.7 kB / 1.006 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.3424, allocations: 163.2 kB / 1.006 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.3425, allocations: 31.97 kB / 1.006 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.3469, allocations: 3.893 MB / 1.01 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3469, allocations: 0 / 1.01 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.3501, allocations: 1.255 MB / 1.011 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/0.3508, allocations: 242.9 kB / 1.011 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.351, allocations: 28 kB / 1.011 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.3517, allocations: 55.95 kB / 1.011 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.352, allocations: 96.77 kB / 1.011 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.3521, allocations: 43.97 kB / 1.011 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00118/0.3533, allocations: 0.5575 MB / 1.012 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.3533, allocations: 0 / 1.012 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001484/0.3547, allocations: 482.8 kB / 1.012 GB, free: 2.105 MB / 0.9636 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.003896/0.3586, allocations: 0.7745 MB / 1.013 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.3614, allocations: 1.193 MB / 1.014 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3614, allocations: 0 / 1.014 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.363, allocations: 0.8271 MB / 1.015 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.3649, allocations: 399.5 kB / 1.015 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.3693, allocations: 2.02 MB / 1.017 GB, free: 13 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.37, allocations: 0.5051 MB / 1.018 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001094/0.3711, allocations: 295.8 kB / 1.018 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.3715, allocations: 128.4 kB / 1.018 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of SimCode: time 2.254e-06/0.3715, allocations: 0 / 1.018 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of Templates: time 0.04423/0.4157, allocations: 20.89 MB / 1.039 GB, free: 7.508 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] 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.073875996982679]