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.00177/0.00177, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002142/0.002142, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.557/1.557, allocations: 177.2 MB / 203.9 MB, free: 5.594 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 2.972/2.972, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.981e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1995/0.1996, allocations: 135.9 MB / 0.9435 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.2182, allocations: 9.955 MB / 0.9532 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.2193, allocations: 31.75 kB / 0.9533 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2206, allocations: 297.4 kB / 0.9536 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.2244, allocations: 1.01 MB / 0.9545 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.2278, allocations: 1.122 MB / 0.9556 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.2306, allocations: 1.81 MB / 0.9574 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.2329, allocations: 0.983 MB / 0.9584 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.2361, allocations: 1.074 MB / 0.9594 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.2373, allocations: 0.5219 MB / 0.9599 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.2377, allocations: 140 kB / 0.9601 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.2402, allocations: 1.022 MB / 0.9611 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.2408, allocations: 410.7 kB / 0.9614 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0009323/0.2417, allocations: 474.8 kB / 0.9619 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.2464, allocations: 2.465 MB / 0.9643 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2464, allocations: 0 / 0.9643 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2464, allocations: 3.938 kB / 0.9643 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.981e-05/0.2465, allocations: 0 / 0.9643 GB, free: 4.387 MB / 0.9167 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.004676/0.2512, allocations: 1.715 MB / 0.966 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2512, allocations: 8.031 kB / 0.966 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.2541, allocations: 462 kB / 0.9664 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.2563, allocations: 0.8928 MB / 0.9673 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.2564, allocations: 77.98 kB / 0.9674 GB, free: 1.172 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.2567, allocations: 111.9 kB / 0.9675 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.2599, allocations: 1.506 MB / 0.969 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.2599, allocations: 0 / 0.969 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.2601, allocations: 40 kB / 0.969 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.2601, allocations: 24 kB / 0.969 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.2629, allocations: 1.288 MB / 0.9703 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/0.2696, allocations: 2.658 MB / 0.9729 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.272, allocations: 1.012 MB / 0.9739 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.2729, allocations: 408.3 kB / 0.9743 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.2731, allocations: 64.95 kB / 0.9743 GB, free: 9.887 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.2747, allocations: 0.8593 MB / 0.9752 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 3.677e-06/0.2747, allocations: 0 / 0.9752 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.004916/0.2796, allocations: 1.559 MB / 0.9767 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.2798, allocations: 204.9 kB / 0.9769 GB, free: 7.137 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.2812, allocations: 0.7742 MB / 0.9776 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.2813, allocations: 49.7 kB / 0.9777 GB, free: 6.297 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.2819, allocations: 485.4 kB / 0.9781 GB, free: 5.816 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/0.2824, allocations: 349 kB / 0.9785 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.2828, allocations: 202.5 kB / 0.9787 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.283, allocations: 349.9 kB / 0.979 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/0.2839, allocations: 381.7 kB / 0.9794 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.2851, allocations: 0.7024 MB / 0.98 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.2869, allocations: 0.8199 MB / 0.9808 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2869, allocations: 4 kB / 0.9809 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003193/0.2901, allocations: 1.201 MB / 0.982 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.2901, allocations: 6.344 kB / 0.982 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2902, allocations: 4 kB / 0.982 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.2913, allocations: 169.6 kB / 0.9822 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.2924, allocations: 211.7 kB / 0.9824 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.2962, allocations: 2.807 MB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2974, allocations: 123.5 kB / 0.9853 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.2975, allocations: 48.02 kB / 0.9853 GB, free: 14.16 MB / 0.948 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.0007379/0.2983, allocations: 328.3 kB / 0.9856 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.2987, allocations: 139.3 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.3025, allocations: 1.345 MB / 0.9871 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3025, allocations: 8 kB / 0.9871 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.3025, allocations: 4 kB / 0.9871 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3025, allocations: 3.984 kB / 0.9871 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.3082, allocations: 2.314 MB / 0.9893 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3082, allocations: 0 / 0.9893 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.3092, allocations: 191.8 kB / 0.9895 GB, free: 9.754 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000993/0.3101, allocations: 161.6 kB / 0.9897 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/0.3102, allocations: 27.97 kB / 0.9897 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.314, allocations: 2.844 MB / 0.9925 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.314, allocations: 0 / 0.9925 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.3173, allocations: 1.312 MB / 0.9938 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.3179, allocations: 250.8 kB / 0.994 GB, free: 4.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.3182, allocations: 27.98 kB / 0.994 GB, free: 4.902 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.3193, allocations: 75.92 kB / 0.9941 GB, free: 4.828 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.3196, allocations: 92.77 kB / 0.9942 GB, free: 4.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.3197, allocations: 47.97 kB / 0.9942 GB, free: 4.688 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001295/0.321, allocations: 0.5459 MB / 0.9948 GB, free: 4.145 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.321, allocations: 0 / 0.9948 GB, free: 4.145 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001701/0.3227, allocations: 474.9 kB / 0.9952 GB, free: 3.68 MB / 0.948 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.003181/0.3259, allocations: 0.7799 MB / 0.996 GB, free: 3.105 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002895/0.3288, allocations: 1.153 MB / 0.9971 GB, free: 1.934 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.3288, allocations: 4 kB / 0.9971 GB, free: 1.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.3304, allocations: 0.7291 MB / 0.9978 GB, free: 1.176 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.3325, allocations: 388.9 kB / 0.9982 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.3374, allocations: 2.136 MB / 1 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000858/0.3383, allocations: 0.5207 MB / 1.001 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001184/0.3395, allocations: 307.7 kB / 1.001 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.3399, allocations: 132.4 kB / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of SimCode: time 1.904e-06/0.3399, allocations: 0 / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of Templates: time 0.04047/0.3804, allocations: 20.8 MB / 1.022 GB, free: 9.191 MB / 0.9792 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=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: 9.270420324988663]