Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0008439/0.0008439, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001215/0.001215, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9068/0.9068, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.08 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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.669e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001655/0.001682, allocations: 0.8024 MB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/0.001794, allocations: 39.78 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.001841, allocations: 4 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.001877, allocations: 7.875 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.001952, allocations: 7.875 kB / 0.9513 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.269e-05/0.001994, allocations: 23.97 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.002091, allocations: 63.84 kB / 0.9514 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.002212, allocations: 27.97 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.002279, allocations: 39.84 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.002333, allocations: 19.91 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.002355, allocations: 4 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002362, allocations: 8 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.002382, allocations: 15.92 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.002409, allocations: 23.91 kB / 0.9516 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002511, allocations: 75.7 kB / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002513, allocations: 0 / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.362e-06/0.002514, allocations: 0 / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002518, allocations: 7.938 kB / 0.9516 GB, free: 2.301 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.0003544/0.002872, allocations: 306 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.002912, allocations: 8.031 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.002948, allocations: 38.75 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.00297, allocations: 12.84 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.003128, allocations: 137.5 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003141, allocations: 12.36 kB / 0.9521 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.003152, allocations: 8.375 kB / 0.9521 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003278, allocations: 87.95 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003287, allocations: 192 / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.003297, allocations: 8.375 kB / 0.9522 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.003303, allocations: 8.125 kB / 0.9522 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.003362, allocations: 35.92 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.003767, allocations: 395.8 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.18e-05/0.003819, allocations: 45.17 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.003849, allocations: 17.78 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.003856, allocations: 0 / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.003876, allocations: 34.56 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.003876, allocations: 4 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.004023, allocations: 53.58 kB / 0.9528 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.00406, allocations: 81.05 kB / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.004163, allocations: 160.8 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004173, allocations: 25.7 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.004225, allocations: 108.1 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.547e-06/0.004234, allocations: 7.938 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.00426, allocations: 17.67 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.004336, allocations: 318.8 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.00435, allocations: 8.25 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.004368, allocations: 29.66 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.004398, allocations: 21.72 kB / 0.9535 GB, free: 128 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0044, allocations: 0 / 0.9535 GB, free: 128 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.062e-05/0.004461, allocations: 57.58 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.004473, allocations: 8 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.004479, allocations: 0 / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.004491, allocations: 0 / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.004542, allocations: 11.94 kB / 0.9536 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.004548, allocations: 8.062 kB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.004565, allocations: 3.938 kB / 0.9536 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.00457, allocations: 4 kB / 0.9536 GB, free: 28 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 7.015e-05/0.00464, allocations: 117.8 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.004661, allocations: 11.89 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.004678, allocations: 3.812 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004681, allocations: 4 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.004687, allocations: 3.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.00469, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.004945, allocations: 441.9 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004945, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.004958, allocations: 15.86 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004959, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004965, allocations: 3.938 kB / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.004967, allocations: 4 kB / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.004968, allocations: 0 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.269e-05/0.005021, allocations: 69.95 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.00504, allocations: 15.88 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.00505, allocations: 4 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.005061, allocations: 8.094 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.005073, allocations: 4 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.005074, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.005133, allocations: 122.5 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.005133, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001226/0.005255, allocations: 8 kB / 0.9544 GB, free: 15.12 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.0002551/0.00551, allocations: 0.6132 MB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.005585, allocations: 15.94 kB / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005586, allocations: 4.156 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.836e-06/0.005595, allocations: 11.98 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.005719, allocations: 10.06 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.006659, allocations: 1.337 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.006707, allocations: 71.33 kB / 0.9564 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.006738, allocations: 16.61 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.006783, allocations: 20.5 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.006784, allocations: 4 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.02295, allocations: 2.238 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.586, allocations: 4.156 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.658939831890166]