Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002084/0.002085, allocations: 105.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 73.52 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3416, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003684/0.3454, allocations: 1.758 MB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/0.3457, allocations: 79.73 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.3458, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.301e-05/0.3459, allocations: 11.86 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.3459, allocations: 15.81 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.3461, allocations: 39.95 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3462, allocations: 115.6 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3464, allocations: 49.09 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.3465, allocations: 39.86 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.3466, allocations: 51.77 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3466, allocations: 8 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.3467, allocations: 12 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.3467, allocations: 27.91 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.3468, allocations: 47.73 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.3469, allocations: 111.9 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3469, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3469, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.347, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007325/0.3477, allocations: 434.9 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3478, allocations: 12.03 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3478, allocations: 8.844 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3481, allocations: 204.1 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3481, allocations: 8.375 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3481, allocations: 8.375 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.3485, allocations: 122.2 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3485, allocations: 4.172 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3485, allocations: 7.938 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3486, allocations: 4 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.349, allocations: 119.9 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.3497, allocations: 384.4 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.35, allocations: 94.45 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3503, allocations: 60.86 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3503, allocations: 4 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3503, allocations: 34.56 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3503, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0007839/0.3511, allocations: 197.4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3512, allocations: 55.34 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3513, allocations: 128.1 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3513, allocations: 29.7 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.3514, allocations: 107.9 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3514, allocations: 19.73 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.3515, allocations: 17.72 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3516, allocations: 322.8 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3518, allocations: 51.94 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.3521, allocations: 47.94 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.3525, allocations: 109.1 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3525, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004772/0.353, allocations: 145.5 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.353, allocations: 7.938 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.353, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.353, allocations: 7.938 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3532, allocations: 27.97 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3532, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3533, allocations: 23.88 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3534, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.3535, allocations: 117.8 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3535, allocations: 4 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3535, allocations: 16.36 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3536, allocations: 7.938 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3536, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3536, allocations: 3.938 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3538, allocations: 205.5 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3538, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.354, allocations: 27.97 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.354, allocations: 4 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.354, allocations: 0 / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.354, allocations: 3.938 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.354, allocations: 7.875 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.3545, allocations: 235.4 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.3546, allocations: 88.95 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3546, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3548, allocations: 27.91 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3548, allocations: 0 / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3548, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.3549, allocations: 107.2 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3549, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002352/0.3551, allocations: 15.91 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.3553, allocations: 103.2 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.3558, allocations: 124 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3558, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.356, allocations: 59.94 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3564, allocations: 11.98 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.3569, allocations: 228.2 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3572, allocations: 0.6963 MB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.3573, allocations: 15.44 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3573, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of Templates: time 0.003405/0.3607, allocations: 1.202 MB / 1.026 GB, free: 1.848 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches