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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007844/0.007844, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00174/0.00174, allocations: 193.9 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.349/2.349, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.054/4.054, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.78 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.409, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00328/0.4123, allocations: 0.8177 MB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000313/0.4127, allocations: 35.86 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.4128, allocations: 4 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.4129, allocations: 15.86 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.413, allocations: 11.86 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.35e-05/0.4131, allocations: 19.98 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.4133, allocations: 55.84 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.4135, allocations: 43.97 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.4136, allocations: 27.8 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.4137, allocations: 31.84 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.4137, allocations: 4 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.4137, allocations: 11.94 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.4138, allocations: 8 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.4139, allocations: 47.67 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.414, allocations: 70.45 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.414, allocations: 4 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4141, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4141, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 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.000631/0.4147, allocations: 388.1 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4148, allocations: 8.031 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.4149, allocations: 38.75 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.4149, allocations: 12.75 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.4152, allocations: 188.2 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4152, allocations: 4.375 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.4153, allocations: 16.3 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4155, allocations: 96.03 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4156, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4156, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4156, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.4157, allocations: 35.92 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.4165, allocations: 440.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.222e-05/0.4167, allocations: 45.19 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.4167, allocations: 17.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.4167, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.4168, allocations: 34.56 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 4.078e-06/0.4168, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.4171, allocations: 61.47 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.4171, allocations: 77.11 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4174, allocations: 163 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4174, allocations: 25.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.4175, allocations: 100 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.4176, allocations: 3.906 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.4176, allocations: 17.97 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4178, allocations: 326.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.4178, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.4179, allocations: 21.66 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.4179, allocations: 25.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4179, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.4181, allocations: 65.53 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4181, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4181, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.4182, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.4183, allocations: 8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4183, allocations: 3.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.4183, allocations: 7.844 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4184, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 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 0.0001124/0.4185, allocations: 117.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.4186, allocations: 15.91 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.4186, allocations: 7.875 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4186, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4187, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4187, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.4193, allocations: 470.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4194, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.4194, allocations: 12.05 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4194, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4194, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4194, allocations: 3.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4195, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4196, allocations: 73.84 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.4197, allocations: 89 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4197, allocations: 8.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.4198, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.4198, allocations: 3.938 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.4198, allocations: 8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001347/0.42, allocations: 120.9 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.42, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003485/0.4203, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 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.0005716/0.4209, allocations: 0.6209 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4211, allocations: 23.92 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4211, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.4211, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4214, allocations: 17.75 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4235, allocations: 1.329 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4239, allocations: 0.6929 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.424, allocations: 12.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.4241, allocations: 23.44 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.4241, allocations: 0 / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.5246, allocations: 1.578 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.46, allocations: 11.91 kB / 1.096 GB, free: 8.879 MB / 0.8575 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