Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_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.001041/0.001042, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 62.12 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.246, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002043/0.2481, allocations: 0.8426 MB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.2482, allocations: 39.86 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.2483, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.2484, allocations: 7.875 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.2485, allocations: 11.86 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.083e-05/0.2485, allocations: 19.97 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.2486, allocations: 59.86 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2488, allocations: 51.95 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.2489, allocations: 27.81 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.2489, allocations: 31.84 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2489, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.249, allocations: 12 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.249, allocations: 11.94 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.249, allocations: 39.72 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2491, allocations: 64 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2491, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2491, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2492, allocations: 0 / 1.054 GB, free: 7.059 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000429/0.2496, allocations: 375.3 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2496, allocations: 12.62 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2497, allocations: 38.75 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.2497, allocations: 8.844 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2499, allocations: 204.1 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2499, allocations: 8.281 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.25, allocations: 8.375 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2501, allocations: 88.98 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2501, allocations: 11.88 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2501, allocations: 4 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2501, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.2502, allocations: 35.98 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2507, allocations: 440.5 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.2508, allocations: 41.16 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.2508, allocations: 17.84 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.2508, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2509, allocations: 38.53 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.2509, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.251, allocations: 65.69 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2511, allocations: 81.14 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2512, allocations: 161 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2512, allocations: 29.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.2513, allocations: 100 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.2513, allocations: 3.906 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.2513, allocations: 17.72 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.2514, allocations: 322.8 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.2514, allocations: 8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.2515, allocations: 17.72 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.2515, allocations: 25.66 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2515, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.898e-05/0.2516, allocations: 57.59 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2516, allocations: 11.94 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2516, allocations: 4.062 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2516, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.2517, allocations: 11.94 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2517, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.2518, allocations: 7.844 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2518, allocations: 4 kB / 1.056 GB, free: 4.566 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.272e-05/0.2518, allocations: 113.8 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.2519, allocations: 11.84 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.2519, allocations: 7.875 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2519, allocations: 8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2519, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2519, allocations: 3.938 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.2523, allocations: 470.8 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2523, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.2523, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2523, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.2523, allocations: 64 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2523, allocations: 4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2523, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.293e-05/0.2524, allocations: 89.77 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2524, allocations: 81.02 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2525, allocations: 4.094 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.2525, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.2525, allocations: 8.016 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2525, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.2526, allocations: 123.2 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2526, allocations: 3.938 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001823/0.2528, allocations: 8 kB / 1.057 GB, free: 3.527 MB / 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.0003282/0.2531, allocations: 0.6209 MB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.2532, allocations: 15.98 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2532, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.2532, allocations: 11.94 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.2534, allocations: 4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2544, allocations: 1.319 MB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2546, allocations: 0.7002 MB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.2547, allocations: 4.438 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.2547, allocations: 23.42 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of SimCode: time 1.443e-06/0.2547, allocations: 0 / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2709, allocations: 1.559 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/7.118, allocations: 6.938 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches