Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.0008617/0.0008617, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008638/0.0008638, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8976/0.8976, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.467e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001577/0.001602, allocations: 0.7946 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.749e-05/0.001699, allocations: 39.78 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.001744, allocations: 4 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.001777, allocations: 7.875 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.001845, allocations: 7.938 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.731e-05/0.001883, allocations: 23.97 kB / 0.9514 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.001976, allocations: 63.77 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002088, allocations: 23.98 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.002159, allocations: 39.89 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.002209, allocations: 19.86 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.002232, allocations: 8 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-06/0.002238, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.002256, allocations: 19.92 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.002281, allocations: 23.91 kB / 0.9516 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.002376, allocations: 67.77 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002378, allocations: 0 / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002379, allocations: 0 / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.002384, allocations: 3.938 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003352/0.002719, allocations: 310 kB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.002759, allocations: 8.031 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.002793, allocations: 38.75 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.002814, allocations: 12.84 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.002963, allocations: 141.5 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.002975, allocations: 12.38 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.002987, allocations: 8.359 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.003108, allocations: 90.61 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.003115, allocations: 4.188 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003123, allocations: 384 / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.003129, allocations: 4.125 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.003185, allocations: 39.92 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.00356, allocations: 395.7 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.003609, allocations: 41.34 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.003635, allocations: 21.78 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.003644, allocations: 4 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.003663, allocations: 30.56 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.003665, allocations: 3.984 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.003798, allocations: 53.58 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.003834, allocations: 88.98 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.003935, allocations: 160.5 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.003943, allocations: 25.7 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.00399, allocations: 96.34 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.003998, allocations: 15.94 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.004028, allocations: 17.67 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.004107, allocations: 318.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.004125, allocations: 11.98 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.004141, allocations: 13.72 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.004173, allocations: 29.72 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004175, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.681e-05/0.004232, allocations: 61.64 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.004245, allocations: 8 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.00425, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.004262, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.004317, allocations: 11.94 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004321, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.00434, allocations: 11.94 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.004344, allocations: 3.938 kB / 0.9536 GB, free: 72 kB / 0.9011 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 (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 6.682e-05/0.00441, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.004431, allocations: 15.89 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.00445, allocations: 7.812 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.004451, allocations: 4 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.004457, allocations: 3.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004459, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.004706, allocations: 437.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.004708, allocations: 4 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.004721, allocations: 7.922 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.004723, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.004728, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004729, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00473, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.014e-05/0.00478, allocations: 78.02 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.004798, allocations: 11.88 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.004807, allocations: 7.938 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.004816, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.004827, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.00483, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.004886, allocations: 126.7 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004886, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001257/0.005012, allocations: 4 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002213/0.005233, allocations: 0.6133 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.005299, allocations: 15.94 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005301, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.005308, allocations: 11.98 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.005419, allocations: 8 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.006229, allocations: 1.337 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.006273, allocations: 79.61 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.0063, allocations: 8.484 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.006341, allocations: 24.5 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.006341, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.0218, allocations: 2.241 MB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.666, allocations: 2.406 kB / 0.9587 GB, free: 10.82 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 10.665465353056788]