Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.0008328/0.0008328, 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.0009062/0.0009062, allocations: 169.9 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.8959/0.8959, allocations: 177.2 MB / 202.8 MB, free: 5.551 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.615/1.615, allocations: 359 MB / 0.6037 GB, free: 11.07 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_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.226e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001822/0.001844, allocations: 0.7946 MB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.00196, allocations: 43.78 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.002013, allocations: 4 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.00205, allocations: 7.875 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.002128, allocations: 11.88 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.619e-05/0.002174, allocations: 15.98 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.002288, allocations: 59.83 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.002423, allocations: 31.97 kB / 0.9515 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.0025, allocations: 39.84 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.002559, allocations: 19.91 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.002587, allocations: 8 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002596, allocations: 4 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.002616, allocations: 19.92 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.002648, allocations: 15.94 kB / 0.9516 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.002767, allocations: 83.61 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.002769, allocations: 0 / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00277, allocations: 3.938 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.002774, allocations: 0 / 0.9516 GB, free: 2.324 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.0003836/0.003158, allocations: 302 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.003203, allocations: 16.02 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.003239, allocations: 34.75 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.003276, allocations: 16.84 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.003449, allocations: 137.6 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003461, allocations: 8.359 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003473, allocations: 8.375 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003615, allocations: 99.88 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.003625, allocations: 192 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.003637, allocations: 384 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.003658, allocations: 4.125 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.003729, allocations: 39.92 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.004116, allocations: 387.8 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.004158, allocations: 41.19 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.004186, allocations: 21.83 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004193, allocations: 4 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.00421, allocations: 34.56 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.004211, allocations: 0 / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001225/0.004334, allocations: 49.59 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.004371, allocations: 85.05 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.004467, allocations: 161.4 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004476, allocations: 25.95 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.004521, allocations: 108 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.004529, allocations: 7.922 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.004555, allocations: 25.66 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.004624, allocations: 318.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.004636, allocations: 4 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.004652, allocations: 21.7 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.00468, allocations: 25.66 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004682, allocations: 0 / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.358e-05/0.004735, allocations: 69.58 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004746, allocations: 4 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.00475, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.004761, allocations: 4 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.004806, allocations: 7.938 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00481, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.004826, allocations: 4 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.004829, allocations: 0 / 0.9536 GB, free: 60 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.472e-05/0.004894, allocations: 117.8 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.004915, allocations: 11.91 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.004934, allocations: 19.86 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004936, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.00494, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.004943, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.005174, allocations: 433.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.005174, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.005182, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005183, allocations: 7.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.005188, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.005188, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00519, allocations: 8 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.774e-05/0.005238, allocations: 77.94 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.005256, allocations: 19.88 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.005265, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.005274, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.005284, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.005286, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.005341, allocations: 122.1 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005341, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001198/0.005461, allocations: 11.94 kB / 0.9544 GB, free: 15.14 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.0002163/0.005677, allocations: 0.6171 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.005739, allocations: 12 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.005741, allocations: 7.938 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.022e-06/0.005747, allocations: 4 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005855, allocations: 6.344 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.006665, allocations: 1.345 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.00671, allocations: 79.33 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.006734, allocations: 8.484 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.006772, allocations: 24.59 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.006773, allocations: 0 / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.02142, allocations: 2.246 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.911, allocations: 0 / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.7150351786986]