Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 75.81 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9344, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002007/0.9364, allocations: 1.247 MB / 1.305 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004675/0.9369, allocations: 301.4 kB / 1.305 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.9369, allocations: 3.938 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.9369, allocations: 3.188 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.937, allocations: 2.906 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.9372, allocations: 57.5 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.9373, allocations: 20.61 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.9373, allocations: 4 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.9374, allocations: 9.938 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.9374, allocations: 6.844 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.9374, allocations: 0 / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.9375, allocations: 55.36 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.9375, allocations: 7.641 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.9375, allocations: 9.75 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.9377, allocations: 48.02 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9377, allocations: 0 / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9377, allocations: 4 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9377, allocations: 0 / 1.306 GB, free: 30.93 MB / 1.061 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.0003142/0.938, allocations: 337.2 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.938, allocations: 10.31 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.938, allocations: 37.28 kB / 1.306 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.9382, allocations: 22.64 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/0.9383, allocations: 160.4 kB / 1.306 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.9383, allocations: 384 / 1.306 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.9383, allocations: 11.16 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.9384, allocations: 47.48 kB / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.9384, allocations: 3.938 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.9384, allocations: 0 / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.9384, allocations: 2.938 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.9385, allocations: 15.53 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.9386, allocations: 154.6 kB / 1.306 GB, free: 30.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.9404, allocations: 271.3 kB / 1.307 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.9405, allocations: 17.42 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.9405, allocations: 0 / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.9405, allocations: 40.69 kB / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.9405, allocations: 0 / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001353/0.9406, allocations: 64.88 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.9406, allocations: 51.41 kB / 1.307 GB, free: 29.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.297e-05/0.9407, allocations: 89.86 kB / 1.307 GB, free: 29.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.9407, allocations: 28.48 kB / 1.307 GB, free: 29.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-06/0.9407, allocations: 80.14 kB / 1.307 GB, free: 29.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.9407, allocations: 19.78 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.9407, allocations: 26.69 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.9408, allocations: 314.8 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.9408, allocations: 2.906 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.9408, allocations: 13.14 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.9408, allocations: 23.67 kB / 1.307 GB, free: 29.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9409, allocations: 2.844 kB / 1.307 GB, free: 29.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.526e-05/0.9409, allocations: 50.27 kB / 1.308 GB, free: 29.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9409, allocations: 9.469 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9409, allocations: 4 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9409, allocations: 4 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.941, allocations: 9.406 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.941, allocations: 6.984 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.941, allocations: 7.594 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.941, allocations: 0 / 1.308 GB, free: 29.21 MB / 1.061 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 4.495e-05/0.9411, allocations: 116.4 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.9411, allocations: 7.891 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.9411, allocations: 10.52 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.9411, allocations: 0 / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9411, allocations: 4 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9411, allocations: 3.984 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.249e-05/0.9412, allocations: 154.6 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9412, allocations: 0 / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.9412, allocations: 8.703 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9412, allocations: 3.938 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.9412, allocations: 0 / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9412, allocations: 2.344 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9412, allocations: 0 / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.9413, allocations: 85.64 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.9414, allocations: 80.3 kB / 1.308 GB, free: 28.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.9414, allocations: 7.219 kB / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.9414, allocations: 0 / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.9414, allocations: 0 / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.9414, allocations: 2.5 kB / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.534e-05/0.9415, allocations: 78.7 kB / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9415, allocations: 0 / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001827/0.9416, allocations: 15.69 kB / 1.308 GB, free: 28.61 MB / 1.061 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.0002114/0.9418, allocations: 0.61 MB / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.9419, allocations: 25.19 kB / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9419, allocations: 0 / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.942, allocations: 19.34 kB / 1.309 GB, free: 27.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.9422, allocations: 17.16 kB / 1.309 GB, free: 27.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.9426, allocations: 165.1 kB / 1.309 GB, free: 27.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.9427, allocations: 0.675 MB / 1.31 GB, free: 27.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.9427, allocations: 7.062 kB / 1.31 GB, free: 27.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.9427, allocations: 11.44 kB / 1.31 GB, free: 27.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9427, allocations: 3.938 kB / 1.31 GB, free: 27.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.9639, allocations: 1.319 MB / 1.311 GB, free: 26.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.124, allocations: 17.06 kB / 1.311 GB, free: 26.75 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.39081183495]