Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001763/0.001763, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.204/2.204, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5734/0.5748, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002588/0.5774, allocations: 1.542 MB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.5777, allocations: 123.3 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.5778, allocations: 5.375 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.5778, allocations: 7.922 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.5779, allocations: 9.297 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.5782, allocations: 68.95 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.5783, allocations: 53.02 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.5784, allocations: 22.64 kB / 0.9508 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.5784, allocations: 22.8 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.5785, allocations: 22.56 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.5785, allocations: 6.719 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.5785, allocations: 2.938 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.5786, allocations: 14.58 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.5786, allocations: 22.67 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.896e-05/0.5787, allocations: 53.98 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5787, allocations: 1.375 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5787, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5787, allocations: 0 / 0.951 GB, free: 7.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004462/0.5792, allocations: 378.9 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5792, allocations: 9.156 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.5793, allocations: 35.94 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.5793, allocations: 4.594 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.5794, allocations: 174.7 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.5795, allocations: 37.34 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5795, allocations: 4.219 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.5797, allocations: 76.67 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5797, allocations: 4 kB / 0.9517 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5797, allocations: 5.312 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5797, allocations: 1.25 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.5799, allocations: 48.77 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5805, allocations: 314.2 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.5806, allocations: 46.16 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.5807, allocations: 34.98 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.5807, allocations: 0 / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.5807, allocations: 35.88 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.5808, allocations: 4 kB / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003429/0.5811, allocations: 93.64 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5811, allocations: 56.67 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.5812, allocations: 103.2 kB / 0.9524 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5812, allocations: 34.94 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.5813, allocations: 89.33 kB / 0.9525 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.5813, allocations: 18.38 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.5813, allocations: 21.19 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.5814, allocations: 323.8 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.5815, allocations: 23.45 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.5816, allocations: 35.25 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.5817, allocations: 60.11 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5817, allocations: 0 / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002046/0.5819, allocations: 94.45 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.582, allocations: 4.188 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.582, allocations: 1.219 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.582, allocations: 1.469 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.5821, allocations: 8.625 kB / 0.9531 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5821, allocations: 9.609 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.5822, allocations: 4.656 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.5822, allocations: 1.562 kB / 0.9531 GB, free: 5.488 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 (5): * Single equations (assignments): 5 * 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 5.771e-05/0.5822, allocations: 116.6 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.5823, allocations: 5.188 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.5823, allocations: 13.08 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5823, allocations: 1.062 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5823, allocations: 4.062 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5823, allocations: 9.094 kB / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.5825, allocations: 175.5 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5825, allocations: 0 / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.5825, allocations: 13.33 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5825, allocations: 0 / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5826, allocations: 0 / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5826, allocations: 1.781 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5826, allocations: 0 / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.5828, allocations: 177.4 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.5828, allocations: 82.45 kB / 0.9536 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.5828, allocations: 1.219 kB / 0.9536 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.583, allocations: 13.52 kB / 0.9537 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.583, allocations: 5.578 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.583, allocations: 3.812 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.5831, allocations: 95.83 kB / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5831, allocations: 4 kB / 0.9538 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002207/0.5833, allocations: 8.344 kB / 0.9538 GB, free: 4.754 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 (4): * Single equations (assignments): 4 * 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.0003774/0.5837, allocations: 0.7003 MB / 0.9545 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.5839, allocations: 57.08 kB / 0.9545 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5839, allocations: 1.469 kB / 0.9545 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.584, allocations: 26.72 kB / 0.9545 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5843, allocations: 11.59 kB / 0.9545 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.5854, allocations: 1.346 MB / 0.9559 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.5855, allocations: 0.682 MB / 0.9565 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.5856, allocations: 15.94 kB / 0.9565 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.5856, allocations: 12.91 kB / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5856, allocations: 0 / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.615, allocations: 1.566 MB / 0.9581 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.6151, allocations: 213.2 kB / 0.9583 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.214, allocations: 1.156 kB / 0.9583 GB, free: 0.9414 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches