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.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.001558/0.001558, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001588/0.001588, allocations: 211.2 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 65.12 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002147/0.3486, allocations: 0.8352 MB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3488, allocations: 55.78 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.3489, allocations: 0 / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.3489, allocations: 15.8 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.349, allocations: 11.88 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.907e-05/0.3491, allocations: 23.98 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3492, allocations: 79.77 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3494, allocations: 36.8 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.3494, allocations: 39.8 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.3495, allocations: 27.8 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.3495, allocations: 15.92 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.3495, allocations: 8 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3496, allocations: 19.92 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.3496, allocations: 35.8 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3498, allocations: 101.2 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3498, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3498, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3498, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 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.0005453/0.3503, allocations: 330 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3504, allocations: 12.03 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.3504, allocations: 42.73 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.3505, allocations: 8.891 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3507, allocations: 146.5 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3507, allocations: 8.562 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3508, allocations: 12.38 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.351, allocations: 103.3 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.351, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.351, allocations: 7.984 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.351, allocations: 7.984 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.3511, allocations: 51.86 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.3518, allocations: 415.6 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.3519, allocations: 41.09 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.3519, allocations: 17.84 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3519, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.352, allocations: 34.56 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.352, allocations: 0 / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.3522, allocations: 57.8 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3522, allocations: 81.14 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3524, allocations: 188.2 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3525, allocations: 29.64 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3526, allocations: 112 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.3526, allocations: 7.953 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3526, allocations: 17.72 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3528, allocations: 318.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.3528, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.3528, allocations: 21.72 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.3529, allocations: 29.7 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.353, allocations: 61.59 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.353, allocations: 4 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.353, allocations: 224 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.353, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.3531, allocations: 19.86 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.3531, allocations: 15.83 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 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.698e-05/0.3532, allocations: 121.8 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3533, allocations: 11.91 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.3533, allocations: 16.48 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3533, allocations: 4 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3533, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3533, allocations: 3.938 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3538, allocations: 437.9 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3538, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.3538, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3538, allocations: 11.98 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3538, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3538, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3538, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.198e-05/0.3539, allocations: 73.95 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3539, allocations: 19.89 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.354, allocations: 7.938 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.354, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.354, allocations: 3.938 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.354, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000131/0.3541, allocations: 148.3 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3541, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001881/0.3543, allocations: 8 kB / 1.287 GB, free: 7.844 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.0004447/0.3548, allocations: 0.6171 MB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.3549, allocations: 15.94 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.3549, allocations: 8 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.355, allocations: 8.281 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3566, allocations: 1.4 MB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.3567, allocations: 95.98 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.3567, allocations: 8.484 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3568, allocations: 35.42 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3568, allocations: 4 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3844, allocations: 2.266 MB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 6.844 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB " [Timeout remaining time 287] (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/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: 18.662351542618126]