Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0008773/0.0008773, 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.0008476/0.0008476, 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.854/0.854, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.821e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001335/0.001353, allocations: 0.8322 MB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.00146, allocations: 51.78 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.001504, allocations: 3.938 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.001538, allocations: 11.81 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.0016, allocations: 11.92 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-05/0.001648, allocations: 19.98 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.001744, allocations: 87.69 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.001887, allocations: 37.3 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.001975, allocations: 51.88 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.002033, allocations: 19.91 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.002063, allocations: 8 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.002072, allocations: 11.94 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.002098, allocations: 23.86 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.002133, allocations: 23.92 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.002272, allocations: 99.59 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002275, allocations: 0 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.593e-06/0.002276, allocations: 0 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.002282, allocations: 4 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004396/0.002721, allocations: 322.1 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.002779, allocations: 12.75 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.002821, allocations: 38.73 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.002853, allocations: 12.89 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.003053, allocations: 149.7 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.003067, allocations: 4.562 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.003082, allocations: 8.375 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.003254, allocations: 112 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.003264, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.003276, allocations: 11.94 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.003281, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.003362, allocations: 51.91 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.004001, allocations: 415.7 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.004067, allocations: 41.14 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.0041, allocations: 17.78 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.004109, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.004134, allocations: 34.56 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.004136, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001802/0.004316, allocations: 53.59 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.004362, allocations: 85.09 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.0045, allocations: 182.7 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004512, allocations: 29.7 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.004584, allocations: 112.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.004595, allocations: 15.92 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.004624, allocations: 13.72 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004726, allocations: 326.8 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.004745, allocations: 11.94 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.004766, allocations: 13.97 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.004804, allocations: 29.72 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.004807, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.877e-05/0.004886, allocations: 61.58 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.004905, allocations: 6.031 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.004913, allocations: 4 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.004929, allocations: 0 / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.005002, allocations: 4 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.005008, allocations: 0 / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.005033, allocations: 19.95 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.005038, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 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.622e-05/0.005114, allocations: 125.7 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.00514, allocations: 15.91 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.005167, allocations: 12.5 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00517, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.005175, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005178, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.005498, allocations: 445.8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.005501, allocations: 4.062 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.00552, allocations: 8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005523, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.005531, allocations: 112 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005533, allocations: 7.938 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005535, allocations: 3.938 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.00561, allocations: 77.94 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.00564, allocations: 15.89 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005651, allocations: 0 / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.005665, allocations: 4 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.005683, allocations: 11.88 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005686, allocations: 8.031 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.005769, allocations: 133.6 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005769, allocations: 0 / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001236/0.005892, allocations: 8 kB / 1.004 GB, free: 8.859 MB / 0.9636 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.0002399/0.006132, allocations: 0.6055 MB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.485e-05/0.006207, allocations: 23.92 kB / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006209, allocations: 0 / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.006217, allocations: 12.16 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.006338, allocations: 11.94 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.007229, allocations: 1.404 MB / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/0.007277, allocations: 84.91 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.007306, allocations: 16.55 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.007351, allocations: 32.48 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.007351, allocations: 0 / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.02199, allocations: 2.403 MB / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.684, allocations: 4.25 kB / 1.008 GB, free: 4.254 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.565117118880153]