Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 103.7 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 76.12 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002534/0.3124, allocations: 1.281 MB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.313, allocations: 307.3 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.313, allocations: 4 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.313, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.3131, allocations: 3.938 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3134, allocations: 47.75 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.3135, allocations: 11.94 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.3135, allocations: 7.984 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.3135, allocations: 7.984 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.3136, allocations: 7.938 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3136, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3137, allocations: 59.95 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3137, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.3138, allocations: 8 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3139, allocations: 56.03 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3139, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3139, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3139, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 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.0004524/0.3144, allocations: 339.3 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3144, allocations: 11.98 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.3145, allocations: 38.75 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.3147, allocations: 16.91 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3148, allocations: 168.3 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3148, allocations: 4.375 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.3148, allocations: 384 / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.315, allocations: 42.25 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.315, allocations: 3.938 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.315, allocations: 0 / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.315, allocations: 0 / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.315, allocations: 19.98 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3152, allocations: 165.7 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.3172, allocations: 270.3 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.3172, allocations: 20.84 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3172, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3173, allocations: 30.56 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3173, allocations: 0 / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.3174, allocations: 65.62 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3175, allocations: 59.28 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.3176, allocations: 101.8 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3176, allocations: 25.7 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.3176, allocations: 80.14 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3177, allocations: 11.91 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3177, allocations: 13.72 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3178, allocations: 314.8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.3179, allocations: 11.98 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.3179, allocations: 8 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.3179, allocations: 28.98 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3179, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.341e-05/0.318, allocations: 53.62 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.318, allocations: 11.94 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.318, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3181, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.3181, allocations: 7.984 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3181, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.3182, allocations: 11.95 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.3182, allocations: 0 / 1.324 GB, free: 15.41 MB / 1.029 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.689e-05/0.3182, allocations: 109.8 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3183, allocations: 7.938 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3183, allocations: 7.5 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3183, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3183, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3183, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3184, allocations: 165.5 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3184, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.3185, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3185, allocations: 7.922 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3185, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3185, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3185, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3186, allocations: 85.06 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.3187, allocations: 77.11 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.3187, allocations: 3.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.3188, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.3188, allocations: 8.359 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3188, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.3188, allocations: 75.28 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3188, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001894/0.319, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 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.0004447/0.3195, allocations: 0.6319 MB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3196, allocations: 19.98 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3196, allocations: 0 / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.3196, allocations: 15.98 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3198, allocations: 18.17 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3203, allocations: 156.2 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3206, allocations: 0.6768 MB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.3206, allocations: 0 / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.3206, allocations: 11.44 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3206, allocations: 4 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3441, allocations: 1.321 MB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.325, allocations: 4.641 kB / 1.328 GB, free: 11.89 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.916281356941909]