Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_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.00578/0.005781, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00137/0.001369, allocations: 197.5 kB / 16.67 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 55.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8606, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002243/0.8629, allocations: 0.8229 MB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.863, allocations: 43.78 kB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.8631, allocations: 0 / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.8632, allocations: 7.875 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.8633, allocations: 11.88 kB / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.268e-05/0.8634, allocations: 23.97 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.8635, allocations: 59.84 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.8637, allocations: 39.92 kB / 1.208 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.8637, allocations: 31.86 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.8638, allocations: 31.78 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.8639, allocations: 4 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.8639, allocations: 11.94 kB / 1.208 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.8639, allocations: 15.98 kB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.8639, allocations: 31.75 kB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.8641, allocations: 77.94 kB / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.8641, allocations: 0 / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8641, allocations: 0 / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8641, allocations: 3.938 kB / 1.208 GB, free: 12.34 MB / 0.9356 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.0004916/0.8646, allocations: 383.2 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8647, allocations: 8.031 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.8647, allocations: 50.66 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.8648, allocations: 8.844 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.865, allocations: 188.2 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.865, allocations: 4.375 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.865, allocations: 8.375 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.8652, allocations: 101.9 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8652, allocations: 3.938 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.8652, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8652, allocations: 4 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.8653, allocations: 35.98 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.8659, allocations: 436.5 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.866, allocations: 45.22 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.866, allocations: 25.8 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.866, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.8661, allocations: 34.56 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8661, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.8663, allocations: 57.48 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.8663, allocations: 77.11 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.8665, allocations: 164.6 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.8665, allocations: 25.7 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.8666, allocations: 104 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.338e-06/0.8666, allocations: 7.906 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.8666, allocations: 17.72 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8667, allocations: 323.1 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.8667, allocations: 8 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.8668, allocations: 17.7 kB / 1.21 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.8668, allocations: 29.66 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8668, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.47e-05/0.8669, allocations: 53.61 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.867, allocations: 15.98 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.867, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.867, allocations: 7.938 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.8671, allocations: 4 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.8671, allocations: 0 / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.8671, allocations: 7.906 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.8671, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 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 8.514e-05/0.8672, allocations: 113.8 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.8673, allocations: 15.78 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.8673, allocations: 19.86 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8673, allocations: 0 / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8673, allocations: 0 / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8673, allocations: 0 / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.8677, allocations: 474.8 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8677, allocations: 0 / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.8678, allocations: 4 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8678, allocations: 64 / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.8678, allocations: 8 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.8678, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8678, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/0.8679, allocations: 81.77 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.868, allocations: 92.95 kB / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.868, allocations: 3.984 kB / 1.211 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.868, allocations: 4.031 kB / 1.211 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.868, allocations: 8.031 kB / 1.211 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.868, allocations: 4 kB / 1.211 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.8681, allocations: 121.3 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8681, allocations: 0 / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001999/0.8683, allocations: 11.91 kB / 1.212 GB, free: 8.805 MB / 0.9356 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.0004313/0.8688, allocations: 0.6209 MB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.8689, allocations: 16 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8689, allocations: 0 / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.8689, allocations: 7.938 kB / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.8691, allocations: 8 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.8704, allocations: 1.327 MB / 1.213 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.8707, allocations: 0.6963 MB / 1.214 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.8707, allocations: 8.375 kB / 1.214 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.8708, allocations: 31.42 kB / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.8708, allocations: 0 / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.8884, allocations: 1.591 MB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.594, allocations: 12.06 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches