Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 103 kB / 16.35 MB, free: 5.824 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.001347/0.001347, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 65.42 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2297, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002645/0.2324, allocations: 1.603 MB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.2325, allocations: 47.77 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2326, allocations: 4 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.2326, allocations: 11.92 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.2327, allocations: 11.86 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.878e-05/0.2328, allocations: 23.97 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.2329, allocations: 67.72 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.233, allocations: 20.17 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.233, allocations: 19.92 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2331, allocations: 43.83 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2331, allocations: 8 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.2332, allocations: 4 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2332, allocations: 23.86 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.2332, allocations: 23.88 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2333, allocations: 67.7 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2334, allocations: 0 / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2334, allocations: 0 / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2334, allocations: 3.938 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005704/0.234, allocations: 403.2 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.234, allocations: 8.031 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.234, allocations: 8.844 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2341, allocations: 172.2 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2342, allocations: 384 / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2342, allocations: 4.375 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.2345, allocations: 105.5 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2345, allocations: 3.938 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2345, allocations: 4 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2345, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.2349, allocations: 95.89 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.2353, allocations: 300.8 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.2356, allocations: 94.55 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2359, allocations: 64.92 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2359, allocations: 0 / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2359, allocations: 38.5 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2359, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0006738/0.2366, allocations: 189.4 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2366, allocations: 59.33 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.2367, allocations: 117.8 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2368, allocations: 25.7 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.2368, allocations: 96.08 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2368, allocations: 15.7 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.2369, allocations: 21.72 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.237, allocations: 326.8 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2372, allocations: 47.95 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2374, allocations: 47.94 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.2377, allocations: 108.8 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2377, allocations: 384 / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004144/0.2382, allocations: 145.4 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2382, allocations: 11.98 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2382, allocations: 3.938 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2382, allocations: 0 / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2384, allocations: 23.97 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2384, allocations: 0 / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2385, allocations: 19.98 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2385, allocations: 7.984 kB / 0.9555 GB, free: 3.297 MB / 0.7325 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 8.099e-05/0.2386, allocations: 123.7 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2386, allocations: 7.906 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.2387, allocations: 8.375 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2387, allocations: 4 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2387, allocations: 0 / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2387, allocations: 0 / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2389, allocations: 189.5 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2389, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.239, allocations: 27.97 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.239, allocations: 0 / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.239, allocations: 4 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.239, allocations: 3.938 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.239, allocations: 3.938 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.2395, allocations: 243.3 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2396, allocations: 81.11 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2396, allocations: 0 / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2397, allocations: 15.97 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.2398, allocations: 8 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2398, allocations: 3.984 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.2399, allocations: 95.28 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2399, allocations: 0 / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.2401, allocations: 19.94 kB / 0.9563 GB, free: 2.379 MB / 0.7325 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.0001155/0.2402, allocations: 103.2 kB / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.2407, allocations: 116 kB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2407, allocations: 0 / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.2409, allocations: 59.94 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2412, allocations: 8.766 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.2415, allocations: 181.1 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2418, allocations: 0.6883 MB / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.2418, allocations: 3.938 kB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.2419, allocations: 11.44 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2419, allocations: 0 / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.003089/0.245, allocations: 1.047 MB / 0.9585 GB, free: 120 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches