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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008895/0.0008895, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004848/0.004848, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 11.69 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2333, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.0009281/0.2343, allocations: 0.5882 MB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.2344, allocations: 59.7 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.2345, allocations: 3.938 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.2345, allocations: 3.938 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.2346, allocations: 11.92 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.454e-05/0.2346, allocations: 23.98 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.2347, allocations: 75.77 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2349, allocations: 45.09 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.2349, allocations: 23.75 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.235, allocations: 23.8 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.235, allocations: 4 kB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.235, allocations: 4 kB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2351, allocations: 15.92 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.2351, allocations: 61.44 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.2352, allocations: 91.81 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2352, allocations: 0 / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2352, allocations: 0 / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.2352, allocations: 0 / 1.06 GB, free: 3.84 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.0003473/0.2356, allocations: 376.8 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2356, allocations: 11.97 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.2357, allocations: 42.73 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.2357, allocations: 20.75 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2359, allocations: 204.3 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2359, allocations: 8.562 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2359, allocations: 4.375 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2361, allocations: 107.9 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2361, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2361, allocations: 8 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2361, allocations: 4 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.2362, allocations: 47.92 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.2367, allocations: 468.3 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.2368, allocations: 41.09 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.2368, allocations: 29.81 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.2368, allocations: 0 / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2369, allocations: 34.56 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2369, allocations: 0 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.237, allocations: 53.55 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2371, allocations: 81.36 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2372, allocations: 187.1 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2372, allocations: 29.64 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.2373, allocations: 111.9 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-06/0.2373, allocations: 3.938 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2373, allocations: 17.7 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.2374, allocations: 314.8 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2375, allocations: 15.92 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.2375, allocations: 21.72 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.2375, allocations: 25.72 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2375, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.974e-05/0.2376, allocations: 61.44 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2376, allocations: 4 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2376, allocations: 4 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.2377, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.2377, allocations: 12.06 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2377, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.2378, allocations: 7.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.2378, allocations: 0 / 1.062 GB, free: 1.254 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 6.83e-05/0.2378, allocations: 121.8 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2379, allocations: 15.8 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.2379, allocations: 12.56 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2379, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2379, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2379, allocations: 7.938 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.2383, allocations: 478.8 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2383, allocations: 0 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.2383, allocations: 4 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2383, allocations: 4.047 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.2383, allocations: 3.938 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2384, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2384, allocations: 8.062 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282e-05/0.2384, allocations: 77.8 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.2385, allocations: 93 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2385, allocations: 3.938 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.2385, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.2386, allocations: 7.938 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.2386, allocations: 4.031 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.251e-05/0.2387, allocations: 139.2 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2387, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001942/0.2389, allocations: 11.94 kB / 1.063 GB, free: 176 kB / 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.0003128/0.2392, allocations: 0.6171 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.449e-05/0.2393, allocations: 11.94 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2393, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.2393, allocations: 8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2394, allocations: 8 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2405, allocations: 1.42 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2408, allocations: 0.7043 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.2408, allocations: 8.547 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.2409, allocations: 31.42 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of SimCode: time 7.51e-07/0.2409, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2663, allocations: 1.515 MB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.2665, allocations: 222 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.818, allocations: 3.938 kB / 1.067 GB, free: 11.57 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