Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007328/0.007328, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001762/0.001762, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.835/2.835, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3184, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00243/0.3209, allocations: 1.258 MB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.3215, allocations: 303.4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.3216, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.3216, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.3216, allocations: 7.922 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.322, allocations: 47.75 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.322, allocations: 23.92 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3221, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.3221, allocations: 7.938 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.3222, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3222, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3223, allocations: 59.88 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.3224, allocations: 11.98 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.3224, allocations: 7.938 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3225, allocations: 39.91 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3226, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3226, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3226, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003925/0.323, allocations: 335.4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.323, allocations: 19.95 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.3232, allocations: 16.92 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3234, allocations: 168.3 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3234, allocations: 4.375 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3234, allocations: 4.375 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.3235, allocations: 42.25 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3236, allocations: 192 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3236, allocations: 3.938 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3236, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.3236, allocations: 23.92 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.3238, allocations: 157.7 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3256, allocations: 270.5 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.3257, allocations: 20.84 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3257, allocations: 0 / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3257, allocations: 34.56 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3258, allocations: 4 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.3259, allocations: 69.69 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.326, allocations: 55.41 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.3261, allocations: 97.86 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3261, allocations: 25.7 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3261, allocations: 80.14 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3262, allocations: 7.953 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.3262, allocations: 21.66 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3263, allocations: 314.8 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.3264, allocations: 11.94 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.3264, allocations: 8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.3264, allocations: 32.97 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3264, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.442e-05/0.3265, allocations: 57.62 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3266, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3266, allocations: 3.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3266, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.3266, allocations: 8 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3267, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.3267, allocations: 3.938 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3267, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 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 (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 prepare postOptimizeDAE: time 7.969e-05/0.3268, allocations: 113.8 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.3268, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3268, allocations: 15.42 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3268, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3269, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3269, allocations: 4 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.327, allocations: 157.7 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.327, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.327, allocations: 7.938 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3271, allocations: 4 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3271, allocations: 3.938 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3271, allocations: 4 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3271, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3272, allocations: 73.12 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.3273, allocations: 88.98 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3273, allocations: 11.94 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.3273, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.3274, allocations: 4 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3274, allocations: 4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.3274, allocations: 79.28 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3274, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001812/0.3276, allocations: 4 kB / 1.171 GB, free: 2.246 MB / 0.92 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.0001431/0.3278, allocations: 111.2 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.3279, allocations: 16 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3279, allocations: 4.094 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.3279, allocations: 15.98 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3282, allocations: 11.94 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.3286, allocations: 128.2 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3289, allocations: 0.6768 MB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.3289, allocations: 4.375 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.3289, allocations: 7.438 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.3289, allocations: 3.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of Templates: time 0.00249/0.3314, allocations: 0.5174 MB / 1.172 GB, free: 0.6992 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches