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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.33 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2446, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001988/0.2466, allocations: 0.8854 MB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.2467, allocations: 59.72 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.2468, allocations: 0 / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.2469, allocations: 11.86 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.2469, allocations: 7.875 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.773e-05/0.247, allocations: 23.98 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2471, allocations: 83.77 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.2473, allocations: 57.08 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.2474, allocations: 35.8 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.2474, allocations: 35.78 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.2474, allocations: 8 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.2475, allocations: 11.94 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2475, allocations: 11.94 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.2475, allocations: 47.73 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2477, allocations: 99.81 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2477, allocations: 4 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2477, allocations: 0 / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2477, allocations: 3.938 kB / 1.054 GB, free: 6.91 MB / 0.8106 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.0003985/0.2481, allocations: 391.3 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2481, allocations: 12.62 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.2482, allocations: 34.75 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.2482, allocations: 20.75 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2484, allocations: 200.3 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2484, allocations: 12.56 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2485, allocations: 16.36 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2486, allocations: 101.4 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2486, allocations: 0 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2487, allocations: 8 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2487, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.2487, allocations: 47.91 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2493, allocations: 468.4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.2493, allocations: 41.09 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.2494, allocations: 21.84 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.2494, allocations: 4 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.2494, allocations: 30.56 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2494, allocations: 0 / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.2496, allocations: 61.44 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2496, allocations: 77.11 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2498, allocations: 184 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2498, allocations: 25.95 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2499, allocations: 112 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.2499, allocations: 11.84 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2499, allocations: 13.72 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.25, allocations: 322.8 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.2501, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.2501, allocations: 25.64 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.2501, allocations: 25.72 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2501, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.159e-05/0.2502, allocations: 65.45 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2502, allocations: 7.984 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2502, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2503, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.2503, allocations: 8 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2503, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.2504, allocations: 8 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.2504, allocations: 4 kB / 1.057 GB, free: 4.32 MB / 0.8106 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.376e-05/0.2505, allocations: 113.8 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2505, allocations: 15.81 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.2505, allocations: 16.55 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2505, allocations: 3.938 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2506, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2506, allocations: 3.938 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.2509, allocations: 478.8 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2509, allocations: 112 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.251, allocations: 7.938 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.251, allocations: 7.875 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.251, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.251, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.251, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.2511, allocations: 81.95 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.2511, allocations: 88.92 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2512, allocations: 11.92 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.2512, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.2512, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.2512, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001105/0.2513, allocations: 135.5 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2513, allocations: 4.031 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001883/0.2515, allocations: 11.94 kB / 1.057 GB, free: 3.242 MB / 0.8106 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.0003345/0.2519, allocations: 0.619 MB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.252, allocations: 23.95 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.252, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.252, allocations: 4 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2521, allocations: 8 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2533, allocations: 1.398 MB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2535, allocations: 0.6963 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.2536, allocations: 12.55 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.2536, allocations: 27.44 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2536, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.27, allocations: 1.713 MB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.141, allocations: 17.17 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches