Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.0008307/0.0008307, 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.0008695/0.0008695, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8609/0.8609, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.637/1.637, 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_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.003e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001477/0.001497, allocations: 0.7907 MB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.001625, allocations: 39.78 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.001679, allocations: 4 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.001718, allocations: 7.875 kB / 0.9513 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.001797, allocations: 11.94 kB / 0.9513 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.739e-05/0.001855, allocations: 23.95 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.001957, allocations: 59.78 kB / 0.9514 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.002081, allocations: 27.98 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.002145, allocations: 39.89 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.002191, allocations: 15.92 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.002213, allocations: 4 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.002221, allocations: 8 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.002239, allocations: 19.91 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.002268, allocations: 23.92 kB / 0.9516 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.002368, allocations: 71.7 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00237, allocations: 0 / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002371, allocations: 3.938 kB / 0.9516 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002375, allocations: 0 / 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.0003459/0.002721, allocations: 306 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.002759, allocations: 11.97 kB / 0.9519 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.00279, allocations: 38.75 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.002813, allocations: 12.84 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.002965, allocations: 149.5 kB / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.002973, allocations: 384 / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.002986, allocations: 16.36 kB / 0.9521 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003103, allocations: 83.95 kB / 0.9522 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003112, allocations: 192 / 0.9522 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.003125, allocations: 8.375 kB / 0.9522 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003131, allocations: 4.125 kB / 0.9522 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.003189, allocations: 39.92 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.003606, allocations: 395.8 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/0.003659, allocations: 41.25 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.003688, allocations: 17.78 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.003696, allocations: 0 / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.003716, allocations: 38.56 kB / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.003717, allocations: 0 / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.003864, allocations: 53.58 kB / 0.9528 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.003903, allocations: 81.05 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.004009, allocations: 158.3 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.004019, allocations: 29.7 kB / 0.953 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.004073, allocations: 100.3 kB / 0.9531 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.004081, allocations: 7.938 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.004111, allocations: 21.67 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.004199, allocations: 318.8 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.004214, allocations: 3.984 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.004233, allocations: 25.66 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.004267, allocations: 21.72 kB / 0.9535 GB, free: 132 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.00427, allocations: 4 kB / 0.9535 GB, free: 128 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.518e-05/0.004336, allocations: 65.61 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.004355, allocations: 8 kB / 0.9536 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.00436, allocations: 0 / 0.9536 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.004374, allocations: 3.938 kB / 0.9536 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.004434, allocations: 11.94 kB / 0.9536 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004439, allocations: 0 / 0.9536 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.004456, allocations: 3.938 kB / 0.9536 GB, free: 28 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.004461, allocations: 4 kB / 0.9536 GB, free: 24 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.87e-05/0.00453, allocations: 121.8 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.004553, allocations: 7.953 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.004572, allocations: 11.84 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004573, allocations: 4 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.004578, allocations: 3.938 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004581, allocations: 0 / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.004848, allocations: 433.9 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00485, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.004864, allocations: 11.92 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004866, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.004873, allocations: 7.938 kB / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004874, allocations: 0 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.004875, allocations: 64 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.217e-05/0.004927, allocations: 73.95 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.004949, allocations: 19.88 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.00496, allocations: 4 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.004969, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.00498, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.004982, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.005039, allocations: 122.1 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005039, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001276/0.005166, allocations: 12 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.000244/0.00541, allocations: 0.6171 MB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.005481, 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.733e-06/0.005483, allocations: 0 / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-06/0.00549, allocations: 7.984 kB / 0.955 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.0001221/0.005612, allocations: 8 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.0008506/0.006463, allocations: 1.344 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.006506, allocations: 79.7 kB / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.006535, allocations: 8.484 kB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.00658, allocations: 32.42 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of SimCode: time 5.92e-07/0.00658, allocations: 0 / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.02259, allocations: 2.241 MB / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.014, allocations: 4.906 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.841633349657059]