Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.537/1.537, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.606/2.606, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9285, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002844/0.9314, allocations: 1.653 MB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.9321, allocations: 403 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.9321, allocations: 3.938 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.9323, allocations: 13.44 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.9323, allocations: 22.72 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.9329, allocations: 122.8 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.9331, allocations: 114.3 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.9334, allocations: 39.64 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.9335, allocations: 38.61 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.9336, allocations: 44.34 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.9336, allocations: 7.438 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.9338, allocations: 64.31 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.9339, allocations: 23.66 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.934, allocations: 46.36 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.9343, allocations: 126.1 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.9343, allocations: 0 / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9343, allocations: 0 / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9343, allocations: 1.156 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007577/0.9351, allocations: 429.8 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.9352, allocations: 9.906 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.9355, allocations: 28.56 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.9357, allocations: 193.8 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.9357, allocations: 34.83 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.9358, allocations: 9.531 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.9361, allocations: 110.1 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.9361, allocations: 3.938 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.9361, allocations: 1.625 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.9361, allocations: 1.594 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.9364, allocations: 80.5 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.9372, allocations: 383.2 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.9378, allocations: 131 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.9379, allocations: 49.52 kB / 0.9536 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.938, allocations: 0 / 0.9536 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.938, allocations: 35.7 kB / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.938, allocations: 0 / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004718/0.9385, allocations: 127.8 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.9385, allocations: 64.69 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.9387, allocations: 139.8 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.9387, allocations: 27.05 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.9387, allocations: 107 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.9388, allocations: 26.89 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.9388, allocations: 18.53 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.9389, allocations: 321.3 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.939, allocations: 23.36 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.9391, allocations: 53.14 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.9393, allocations: 81.5 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9393, allocations: 0 / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000279/0.9396, allocations: 114.8 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.9397, allocations: 5.688 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9397, allocations: 1.125 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.9397, allocations: 3.938 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9398, allocations: 22.17 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9399, allocations: 5.375 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.9399, allocations: 13.08 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.94, allocations: 1.438 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.43e-05/0.94, allocations: 117.2 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.9401, allocations: 9.094 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.9401, allocations: 9.969 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9401, allocations: 5.438 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.9401, allocations: 4 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.9402, allocations: 5.234 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.9403, allocations: 203.6 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9404, allocations: 0 / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.9405, allocations: 16.2 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9405, allocations: 1.312 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.9405, allocations: 4 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9405, allocations: 5.375 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9405, allocations: 0 / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.9408, allocations: 203.7 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.9408, allocations: 87.39 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.9408, allocations: 0 / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.941, allocations: 23.39 kB / 0.9554 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.9411, allocations: 6.422 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.9411, allocations: 2.688 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.9412, allocations: 104 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9412, allocations: 0 / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002379/0.9414, allocations: 20.69 kB / 0.9555 GB, free: 4.066 MB / 0.7169 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 (7): * Single equations (assignments): 7 * 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.0001442/0.9416, allocations: 101.2 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.9418, allocations: 82.2 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9419, allocations: 0 / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.942, allocations: 41.94 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.9424, allocations: 22.61 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.943, allocations: 211.9 kB / 0.956 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.9432, allocations: 0.6996 MB / 0.9567 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.269e-05/0.9433, allocations: 19.47 kB / 0.9567 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.9433, allocations: 12.03 kB / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9433, allocations: 0 / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of Templates: time 0.003748/0.9471, allocations: 1.44 MB / 0.9581 GB, free: 2.273 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches