Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.0009505/0.0009503, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007854/0.007854, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5241, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.000638/0.5248, allocations: 0.5298 MB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.507e-05/0.5249, allocations: 48.31 kB / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.5249, allocations: 6.25 kB / 0.9557 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.5249, allocations: 3.938 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.525, allocations: 7.922 kB / 0.9558 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.783e-05/0.525, allocations: 15.66 kB / 0.9558 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.5251, allocations: 51.25 kB / 0.9558 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.5252, allocations: 43.12 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.5252, allocations: 20.73 kB / 0.9559 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.038e-05/0.5252, allocations: 24.23 kB / 0.9559 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.5253, allocations: 1.375 kB / 0.9559 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/0.5253, allocations: 2.281 kB / 0.9559 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.5253, allocations: 5.281 kB / 0.9559 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.5253, allocations: 55.09 kB / 0.956 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.607e-05/0.5254, allocations: 62.7 kB / 0.956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5254, allocations: 5.484 kB / 0.956 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5254, allocations: 4 kB / 0.956 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.5254, allocations: 0 / 0.956 GB, free: 6.953 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002103/0.5256, allocations: 365.9 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.5256, allocations: 8.656 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.071e-05/0.5257, allocations: 38.12 kB / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.5257, allocations: 12.56 kB / 0.9564 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5258, allocations: 202.1 kB / 0.9566 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.5258, allocations: 7.5 kB / 0.9566 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.5258, allocations: 9.531 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.526, allocations: 92.98 kB / 0.9567 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.526, allocations: 12.89 kB / 0.9567 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.526, allocations: 5.031 kB / 0.9567 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.526, allocations: 1.5 kB / 0.9567 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.526, allocations: 31.52 kB / 0.9568 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.5264, allocations: 446.1 kB / 0.9572 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.933e-05/0.5264, allocations: 33.16 kB / 0.9572 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.5264, allocations: 20.03 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.5265, allocations: 5.312 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.5265, allocations: 34.59 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5265, allocations: 1.344 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001144/0.5266, allocations: 57.97 kB / 0.9574 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.5266, allocations: 78.23 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.5267, allocations: 165.5 kB / 0.9576 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-06/0.5267, allocations: 25.95 kB / 0.9576 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.5268, allocations: 119.9 kB / 0.9577 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.5268, allocations: 5.312 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.5268, allocations: 10.97 kB / 0.9577 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.5268, allocations: 320.9 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.5269, allocations: 3.156 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.5269, allocations: 19.38 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.5269, allocations: 33.31 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5269, allocations: 1.25 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.737e-05/0.527, allocations: 54.69 kB / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.527, allocations: 10.25 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.527, allocations: 1.125 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.527, allocations: 0.9375 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.5271, allocations: 9.812 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.5271, allocations: 3.984 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.5271, allocations: 11.16 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.5271, allocations: 1.094 kB / 0.9582 GB, free: 4.734 MB / 0.7169 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 3.907e-05/0.5272, allocations: 113.3 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.5272, allocations: 11.56 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.629e-05/0.5272, allocations: 11.34 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5272, allocations: 1.125 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5272, allocations: 0 / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5272, allocations: 1.094 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.5275, allocations: 477.8 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5275, allocations: 1.094 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.5275, allocations: 3.75 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5275, allocations: 0 / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.5275, allocations: 0.7812 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5275, allocations: 1 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5275, allocations: 1.406 kB / 0.9588 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.206e-05/0.5276, allocations: 85.08 kB / 0.9589 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.5276, allocations: 88.14 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.5276, allocations: 5.156 kB / 0.959 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.872e-05/0.5277, allocations: 1.031 kB / 0.959 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-06/0.5277, allocations: 1.031 kB / 0.959 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5277, allocations: 4.984 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.5278, allocations: 117.2 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5278, allocations: 7.969 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001722/0.5279, allocations: 6.812 kB / 0.9591 GB, free: 3.793 MB / 0.7169 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.0001761/0.5281, allocations: 0.616 MB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.009e-05/0.5282, allocations: 22.02 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5282, allocations: 5.25 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.5282, allocations: 7.625 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.5283, allocations: 7.531 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.529, allocations: 1.345 MB / 0.961 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.738e-05/0.5291, allocations: 0.6937 MB / 0.9617 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.5292, allocations: 9.469 kB / 0.9617 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.5292, allocations: 26.55 kB / 0.9618 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5292, allocations: 0 / 0.9618 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8833/1.413, allocations: 1.347 MB / 0.9631 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/1.413, allocations: 215.5 kB / 0.9633 GB, free: 284 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.179, allocations: 0 / 0.9633 GB, free: 284 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches