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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007234/0.0007234, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00437/0.00437, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.399/2.399, allocations: 443.4 MB / 0.7176 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 9.719 kB / 0.8797 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2456, allocations: 155.2 MB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0009297/0.2466, allocations: 0.5459 MB / 1.032 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.2467, allocations: 39.78 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.2467, allocations: 0 / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.2468, allocations: 3.938 kB / 1.032 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.2468, allocations: 11.92 kB / 1.032 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.15e-05/0.2469, allocations: 12 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.247, allocations: 59.75 kB / 1.032 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2471, allocations: 47.94 kB / 1.032 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.2471, allocations: 19.81 kB / 1.032 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.2472, allocations: 19.86 kB / 1.032 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2472, allocations: 4 kB / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-06/0.2472, allocations: 0 / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.2472, allocations: 11.92 kB / 1.032 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.2473, allocations: 49.52 kB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.507e-05/0.2474, allocations: 71.91 kB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2474, allocations: 0 / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2474, allocations: 0 / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2474, allocations: 0 / 1.032 GB, free: 3.277 MB / 0.7794 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.0003473/0.2478, allocations: 371.3 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2478, allocations: 8.031 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2478, allocations: 38.75 kB / 1.033 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2479, allocations: 8.844 kB / 1.033 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.248, allocations: 200.1 kB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.2481, allocations: 4.375 kB / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2481, allocations: 8.375 kB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2482, allocations: 95.83 kB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2482, allocations: 3.938 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2482, allocations: 0 / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2483, allocations: 4 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.2483, allocations: 35.98 kB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.2488, allocations: 440.5 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.2488, allocations: 37.16 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.2489, allocations: 29.78 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.2489, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2489, allocations: 34.59 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2489, allocations: 0 / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.2491, allocations: 61.47 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2491, allocations: 77.11 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2493, allocations: 169.3 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2493, allocations: 25.7 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.2493, allocations: 107.9 kB / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.2494, allocations: 4 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2494, allocations: 9.719 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.2495, allocations: 322.8 kB / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2495, allocations: 4 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2495, allocations: 17.72 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.2496, allocations: 30.22 kB / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2496, allocations: 0 / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.556e-05/0.2496, allocations: 61.59 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2497, allocations: 7.938 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2497, allocations: 0 / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2497, allocations: 0 / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.2497, allocations: 11.94 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2498, allocations: 0 / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.2498, allocations: 15.91 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2498, allocations: 0 / 1.034 GB, free: 0.8086 MB / 0.7794 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.603e-05/0.2499, allocations: 121.8 kB / 1.034 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2499, allocations: 11.84 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.2499, allocations: 11.88 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.25, allocations: 0 / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.25, allocations: 0 / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.25, allocations: 0 / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.2503, allocations: 470.8 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2503, allocations: 0 / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.2503, allocations: 7.984 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2503, allocations: 3.938 kB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.2503, allocations: 4 kB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2503, allocations: 7.938 kB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2504, allocations: 0 / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.2504, allocations: 81.94 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.2505, allocations: 96.98 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2505, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.2505, allocations: 4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.2506, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2506, allocations: 4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.2506, allocations: 120.9 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2507, allocations: 4.031 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001786/0.2508, allocations: 7.906 kB / 1.035 GB, free: 15.76 MB / 0.795 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.0002952/0.2511, allocations: 0.6209 MB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.2512, allocations: 24.02 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2512, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.2512, allocations: 7.938 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2514, allocations: 10.42 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2524, allocations: 1.332 MB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.2526, allocations: 0.6926 MB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.2527, allocations: 12.42 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.2527, allocations: 27.42 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2527, allocations: 0 / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9101/1.163, allocations: 1.35 MB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.163, allocations: 221.8 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.8, allocations: 5.203 kB / 1.039 GB, free: 11.39 MB / 0.795 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