Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_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.004208/0.004208, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00118/0.00118, allocations: 203.1 kB / 16.68 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437.1 MB / 0.7106 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001825/0.251, allocations: 0.8773 MB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.2512, allocations: 51.78 kB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.2512, allocations: 0 / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.2513, allocations: 15.8 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.2513, allocations: 15.88 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.402e-05/0.2514, allocations: 19.98 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2515, allocations: 79.77 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2516, allocations: 57.06 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.2517, allocations: 27.88 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.2518, allocations: 39.72 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2518, allocations: 8 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2518, allocations: 8 kB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2518, allocations: 23.92 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.2519, allocations: 43.73 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.252, allocations: 99.7 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.252, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.252, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.252, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 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.0004307/0.2525, allocations: 403.2 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2525, allocations: 8.031 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2525, allocations: 46.73 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.2526, allocations: 16.84 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2528, allocations: 200.3 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2528, allocations: 8.562 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2528, allocations: 12.38 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.253, allocations: 105.6 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.253, allocations: 3.938 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.253, allocations: 4 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.253, allocations: 4 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.2531, allocations: 43.92 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.2536, allocations: 472.4 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.2537, allocations: 41.09 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.2538, allocations: 25.84 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.2538, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2538, allocations: 30.56 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2538, allocations: 0 / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.254, allocations: 61.53 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.254, allocations: 77.11 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2542, allocations: 186.9 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2542, allocations: 29.7 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.2543, allocations: 112 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.2543, allocations: 11.89 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2543, allocations: 17.72 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2545, allocations: 318.8 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.2545, allocations: 8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.2545, allocations: 13.72 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.2546, allocations: 33.72 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2546, allocations: 4 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.896e-05/0.2547, allocations: 61.53 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2547, allocations: 8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.2547, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2547, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.2547, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2548, allocations: 8.062 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.2548, allocations: 11.86 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2548, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 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.671e-05/0.2549, allocations: 117.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2549, allocations: 11.91 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.255, allocations: 12.72 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.255, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.255, allocations: 3.938 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.255, allocations: 7.922 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.2554, allocations: 478.8 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2554, allocations: 0 / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.2554, allocations: 4.094 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2554, allocations: 11.91 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.2554, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2554, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2555, allocations: 7.938 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.2555, allocations: 77.97 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.2556, allocations: 93.05 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2556, allocations: 3.938 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.2557, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2557, allocations: 7.938 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.2557, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001081/0.2558, allocations: 144.8 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2558, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001723/0.256, allocations: 8 kB / 1.171 GB, free: 2.168 MB / 0.92 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.0003822/0.2564, allocations: 0.6171 MB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.2564, allocations: 23.97 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2565, allocations: 0 / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.2565, allocations: 8 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.2566, allocations: 8 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2579, allocations: 1.396 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2582, allocations: 0.6962 MB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2582, allocations: 12.55 kB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.2582, allocations: 31.42 kB / 1.173 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2583, allocations: 0 / 1.173 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9975/1.256, allocations: 1.735 MB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.31, allocations: 7.891 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches