Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001358/0.001358, allocations: 108.3 kB / 17.96 MB, free: 4.039 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.001362/0.001362, allocations: 200.4 kB / 21.22 MB, free: 0.793 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.417/1.417, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7635 GB, free: 10.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.86 kB / 1.108 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8644, allocations: 168.7 MB / 1.272 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2172/1.082, allocations: 180.3 MB / 1.448 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01103/1.093, allocations: 7.928 MB / 1.456 GB, free: 7.469 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/1.093, allocations: 23.88 kB / 1.456 GB, free: 7.445 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008089/1.094, allocations: 254.1 kB / 1.456 GB, free: 7.195 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/1.098, allocations: 1.26 MB / 1.458 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/1.1, allocations: 0.747 MB / 1.458 GB, free: 5.184 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00162/1.101, allocations: 1.083 MB / 1.459 GB, free: 4.094 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/1.102, allocations: 333.5 kB / 1.46 GB, free: 3.766 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/1.105, allocations: 0.8627 MB / 1.461 GB, free: 2.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009646/1.106, allocations: 458.4 kB / 1.461 GB, free: 2.461 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/1.106, allocations: 36 kB / 1.461 GB, free: 2.426 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/1.108, allocations: 1.001 MB / 1.462 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/1.108, allocations: 159.5 kB / 1.462 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/1.109, allocations: 258.7 kB / 1.463 GB, free: 1.012 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/1.111, allocations: 0.9343 MB / 1.463 GB, free: 76 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/1.111, allocations: 4 kB / 1.463 GB, free: 72 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.174e-06/1.111, allocations: 0 / 1.463 GB, free: 72 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.883e-05/1.111, allocations: 7.938 kB / 1.463 GB, free: 64 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001476/1.112, allocations: 0.8096 MB / 1.464 GB, free: 15.2 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.112, allocations: 12.03 kB / 1.464 GB, free: 15.19 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.655e-05/1.112, allocations: 82.47 kB / 1.464 GB, free: 15.1 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009924/1.113, allocations: 151.5 kB / 1.464 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/1.114, allocations: 407.6 kB / 1.465 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/1.114, allocations: 33 kB / 1.465 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/1.114, allocations: 39.95 kB / 1.465 GB, free: 14.44 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/1.115, allocations: 446.4 kB / 1.465 GB, free: 13.98 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/1.115, allocations: 7.875 kB / 1.465 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/1.115, allocations: 23.94 kB / 1.465 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.115, allocations: 12 kB / 1.465 GB, free: 13.93 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/1.116, allocations: 319.8 kB / 1.466 GB, free: 13.62 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/1.118, allocations: 2.016 MB / 1.468 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/1.119, allocations: 218.4 kB / 1.468 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/1.119, allocations: 138.2 kB / 1.468 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/1.119, allocations: 311.2 kB / 1.468 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.12, allocations: 34.56 kB / 1.468 GB, free: 10.67 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 2.294e-06/1.12, allocations: 0 / 1.468 GB, free: 10.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001119/1.121, allocations: 455.9 kB / 1.469 GB, free: 10.22 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/1.121, allocations: 55.41 kB / 1.469 GB, free: 10.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/1.121, allocations: 393.9 kB / 1.469 GB, free: 9.762 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/1.121, allocations: 29.7 kB / 1.469 GB, free: 9.727 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/1.121, allocations: 232.5 kB / 1.469 GB, free: 9.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/1.121, allocations: 91.2 kB / 1.47 GB, free: 9.406 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.122, allocations: 61.64 kB / 1.47 GB, free: 9.34 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.122, allocations: 358.7 kB / 1.47 GB, free: 8.98 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/1.122, allocations: 107.9 kB / 1.47 GB, free: 8.875 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/1.122, allocations: 186.6 kB / 1.47 GB, free: 8.668 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/1.123, allocations: 309.3 kB / 1.47 GB, free: 8.344 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.123, allocations: 3.984 kB / 1.471 GB, free: 8.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006685/1.124, allocations: 357 kB / 1.471 GB, free: 7.984 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.124, allocations: 8 kB / 1.471 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.124, allocations: 0 / 1.471 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.124, allocations: 4.219 kB / 1.471 GB, free: 7.973 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/1.124, allocations: 59.91 kB / 1.471 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.124, allocations: 7.938 kB / 1.471 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/1.124, allocations: 39.72 kB / 1.471 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.124, allocations: 12 kB / 1.471 GB, free: 7.855 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 0.0002095/1.124, allocations: 169.7 kB / 1.471 GB, free: 7.68 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/1.124, allocations: 51.59 kB / 1.471 GB, free: 7.629 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/1.125, allocations: 373 kB / 1.472 GB, free: 7.258 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.125, allocations: 0 / 1.472 GB, free: 7.258 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.125, allocations: 4 kB / 1.472 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.125, allocations: 0 / 1.472 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/1.127, allocations: 0.933 MB / 1.472 GB, free: 6.246 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.127, allocations: 3.938 kB / 1.472 GB, free: 6.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/1.127, allocations: 47.97 kB / 1.472 GB, free: 6.195 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.127, allocations: 7.938 kB / 1.473 GB, free: 6.188 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.127, allocations: 8 kB / 1.473 GB, free: 6.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/1.127, allocations: 8.156 kB / 1.473 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.127, allocations: 8 kB / 1.473 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.128, allocations: 0.6284 MB / 1.473 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.128, allocations: 148.7 kB / 1.473 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/1.128, allocations: 11.98 kB / 1.473 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/1.129, allocations: 8 kB / 1.473 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/1.129, allocations: 20.03 kB / 1.473 GB, free: 5.297 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/1.129, allocations: 16.05 kB / 1.473 GB, free: 5.281 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003161/1.129, allocations: 279.1 kB / 1.474 GB, free: 5.008 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.129, allocations: 0 / 1.474 GB, free: 5.008 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004923/1.13, allocations: 107.8 kB / 1.474 GB, free: 4.902 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001645/1.131, allocations: 1.247 MB / 1.475 GB, free: 3.621 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006743/1.132, allocations: 287 kB / 1.475 GB, free: 3.344 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.132, allocations: 0 / 1.475 GB, free: 3.344 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/1.132, allocations: 140.4 kB / 1.475 GB, free: 3.207 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.133, allocations: 230.4 kB / 1.476 GB, free: 2.988 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.138, allocations: 3.828 MB / 1.479 GB, free: 14.99 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/1.139, allocations: 0.8311 MB / 1.48 GB, free: 14.13 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003851/1.139, allocations: 95.42 kB / 1.48 GB, free: 14.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.14, allocations: 135.4 kB / 1.48 GB, free: 13.91 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/1.14, allocations: 0 / 1.48 GB, free: 13.91 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/1.183, allocations: 11.77 MB / 1.492 GB, free: 2.363 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.802, allocations: 6.422 kB / 1.492 GB, free: 2.359 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.95483488892205]