Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007191/0.007191, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001607/0.001607, allocations: 195.6 kB / 16.68 MB, free: 5.957 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 67.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.9733, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00197/0.9753, allocations: 0.8125 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001084/0.9754, allocations: 50.05 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.9755, allocations: 1.438 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.9755, allocations: 9.469 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.9756, allocations: 5.531 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.022e-05/0.9757, allocations: 24.06 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.9758, allocations: 60.05 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.976, allocations: 41.17 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.976, allocations: 27.2 kB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.9761, allocations: 30.25 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.9761, allocations: 6.781 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.9761, allocations: 5.469 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.9762, allocations: 21.5 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.9762, allocations: 39.22 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.9764, allocations: 75.31 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9764, allocations: 0 / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9764, allocations: 1.406 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.9764, allocations: 0 / 1.089 GB, free: 4.512 MB / 0.8575 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.0003769/0.9768, allocations: 377 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9768, allocations: 9.719 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.9769, allocations: 42.22 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.9769, allocations: 14.53 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.9771, allocations: 196.7 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.9771, allocations: 2.969 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.9771, allocations: 9 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.9773, allocations: 95.22 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9773, allocations: 11.88 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9773, allocations: 1.094 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.9773, allocations: 2.281 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.9774, allocations: 40.02 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9779, allocations: 437.1 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.9779, allocations: 46.41 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.978, allocations: 16.47 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.978, allocations: 4.969 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.978, allocations: 40.23 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.978, allocations: 0 / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.9782, allocations: 53.77 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.9782, allocations: 81.75 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.9784, allocations: 161.1 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.9784, allocations: 29.95 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.9785, allocations: 103.6 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.9785, allocations: 5.516 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.9785, allocations: 18.81 kB / 1.09 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.9786, allocations: 319.4 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.9786, allocations: 4.688 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.9786, allocations: 19.3 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.9786, allocations: 27.45 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9787, allocations: 1.312 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.375e-05/0.9787, allocations: 61.12 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9788, allocations: 8.938 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9788, allocations: 1.641 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.9788, allocations: 0 / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.9788, allocations: 6.125 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.9789, allocations: 5.391 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.9789, allocations: 13.88 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.9789, allocations: 2.719 kB / 1.091 GB, free: 2.383 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 5.979e-05/0.979, allocations: 114.3 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.979, allocations: 11.12 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.9791, allocations: 12.73 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9791, allocations: 1.031 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9791, allocations: 1.703 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9791, allocations: 1.031 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.9794, allocations: 471.1 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9794, allocations: 0 / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.9794, allocations: 7.797 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.9795, allocations: 1.094 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9795, allocations: 1.156 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9795, allocations: 0.7969 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9795, allocations: 1.281 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.497e-05/0.9796, allocations: 87.97 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.9796, allocations: 91.64 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.9796, allocations: 0 / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.9796, allocations: 6.141 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.9797, allocations: 1.281 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.9797, allocations: 5.547 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.9798, allocations: 123.6 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9798, allocations: 0.9688 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000192/0.98, allocations: 6.438 kB / 1.092 GB, free: 1.465 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.0003663/0.9803, allocations: 0.6141 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.9804, allocations: 23.52 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9804, allocations: 1 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.9805, allocations: 4.312 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.9806, allocations: 11.97 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.9818, allocations: 1.329 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.9821, allocations: 0.6919 MB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.9821, allocations: 11.69 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.9822, allocations: 21.23 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.9822, allocations: 0 / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/1.003, allocations: 1.585 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.751, allocations: 19.53 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches