Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7637 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 71.89 kB / 1.108 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8413, allocations: 168.7 MB / 1.273 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002274/0.8436, allocations: 0.8926 MB / 1.274 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.8437, allocations: 59.72 kB / 1.274 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.8438, allocations: 0 / 1.274 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.8438, allocations: 11.86 kB / 1.274 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.669e-05/0.8439, allocations: 7.875 kB / 1.274 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.572e-05/0.844, allocations: 31.97 kB / 1.274 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.8442, allocations: 75.78 kB / 1.274 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.8443, allocations: 41.09 kB / 1.274 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.8444, allocations: 31.8 kB / 1.274 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.8445, allocations: 47.7 kB / 1.274 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.8445, allocations: 8 kB / 1.274 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.8445, allocations: 12 kB / 1.274 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.8445, allocations: 11.94 kB / 1.274 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.8446, allocations: 43.73 kB / 1.274 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.8448, allocations: 105.3 kB / 1.274 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8448, allocations: 0 / 1.274 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8448, allocations: 0 / 1.274 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.8448, allocations: 0 / 1.274 GB, free: 2.957 MB / 0.9669 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.0005605/0.8453, allocations: 403.1 kB / 1.275 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8454, allocations: 12.03 kB / 1.275 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.8454, allocations: 42.75 kB / 1.275 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.8455, allocations: 12.84 kB / 1.275 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.8457, allocations: 200.4 kB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.8457, allocations: 8.562 kB / 1.275 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.8458, allocations: 8.375 kB / 1.275 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.846, allocations: 107.2 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.846, allocations: 4 kB / 1.275 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.846, allocations: 4 kB / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.846, allocations: 0 / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.994e-05/0.8461, allocations: 51.91 kB / 1.275 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.8467, allocations: 468.4 kB / 1.275 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.917e-05/0.8468, allocations: 37.16 kB / 1.275 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.8468, allocations: 21.84 kB / 1.275 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.8468, allocations: 3.938 kB / 1.275 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.8469, allocations: 34.56 kB / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8469, allocations: 0 / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.8471, allocations: 65.52 kB / 1.276 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.8471, allocations: 77.11 kB / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.8473, allocations: 195.4 kB / 1.276 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.8473, allocations: 25.7 kB / 1.276 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.8474, allocations: 108.1 kB / 1.276 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.8475, allocations: 7.891 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.8475, allocations: 21.66 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8477, allocations: 322.8 kB / 1.276 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.8477, allocations: 4 kB / 1.276 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.8477, allocations: 25.7 kB / 1.276 GB, free: 480 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.8478, allocations: 25.66 kB / 1.276 GB, free: 448 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8478, allocations: 0 / 1.276 GB, free: 448 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.656e-05/0.8479, allocations: 61.61 kB / 1.276 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8479, allocations: 5.875 kB / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.8479, allocations: 224 / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8479, allocations: 7.984 kB / 1.276 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.848, allocations: 11.94 kB / 1.276 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.848, allocations: 4 kB / 1.276 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.848, allocations: 11.89 kB / 1.276 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.848, allocations: 0 / 1.276 GB, free: 340 kB / 0.9669 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 9.57e-05/0.8481, allocations: 113.8 kB / 1.277 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.8482, allocations: 11.95 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.8482, allocations: 16.55 kB / 1.277 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8482, allocations: 0 / 1.277 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8482, allocations: 0 / 1.277 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8482, allocations: 7.938 kB / 1.277 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.8487, allocations: 482.8 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8487, allocations: 0 / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.8487, allocations: 4 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8487, allocations: 3.938 kB / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.8487, allocations: 0 / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8487, allocations: 0 / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8487, allocations: 0 / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.8488, allocations: 93.89 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.8489, allocations: 85.06 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.8489, allocations: 3.938 kB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.8489, allocations: 0 / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.8489, allocations: 3.984 kB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.8489, allocations: 8 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001163/0.849, allocations: 136.3 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.849, allocations: 0 / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001933/0.8492, allocations: 11.95 kB / 1.277 GB, free: 15.26 MB / 0.9825 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.0004301/0.8497, allocations: 0.621 MB / 1.278 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.8498, allocations: 15.98 kB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8498, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.8498, allocations: 7.938 kB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.85, allocations: 11.94 kB / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.8514, allocations: 1.414 MB / 1.279 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.8518, allocations: 0.7002 MB / 1.28 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.8518, allocations: 4.562 kB / 1.28 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.8518, allocations: 27.42 kB / 1.28 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8518, allocations: 0 / 1.28 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.8777, allocations: 1.733 MB / 1.282 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.128, allocations: 13.62 kB / 1.282 GB, free: 10.66 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 14.99879790097475]