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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5169, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001698/0.5187, allocations: 0.8806 MB / 0.9499 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.765e-05/0.5188, allocations: 45.22 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.5188, allocations: 2.188 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.5189, allocations: 7.922 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.5189, allocations: 1.125 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.434e-05/0.519, allocations: 15.19 kB / 0.95 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.787e-05/0.519, allocations: 62.66 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5191, allocations: 43.39 kB / 0.9501 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.5192, allocations: 22.73 kB / 0.9501 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.5192, allocations: 24.2 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.5193, allocations: 5.125 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.5193, allocations: 3 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.5193, allocations: 14.58 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.5193, allocations: 34.06 kB / 0.9502 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.757e-05/0.5194, allocations: 73.72 kB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5194, allocations: 5.031 kB / 0.9503 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5194, allocations: 0 / 0.9503 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5194, allocations: 0 / 0.9503 GB, free: 8.164 MB / 0.7169 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.0002713/0.5197, allocations: 380.2 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5197, allocations: 9.781 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.345e-05/0.5198, allocations: 40.55 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.5198, allocations: 9.906 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5199, allocations: 190.3 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.5199, allocations: 7.594 kB / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.5199, allocations: 13.5 kB / 0.9509 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.5201, allocations: 90.55 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5201, allocations: 3.938 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.5201, allocations: 1.219 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5201, allocations: 6.375 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.5202, allocations: 40.02 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.5205, allocations: 432.4 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.539e-05/0.5206, allocations: 45.33 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.5206, allocations: 19.34 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-06/0.5206, allocations: 1.406 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.5206, allocations: 39.91 kB / 0.9515 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.5206, allocations: 0 / 0.9515 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.5208, allocations: 59.19 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.5208, allocations: 81.09 kB / 0.9517 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5209, allocations: 162.5 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-06/0.5209, allocations: 25.7 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.5209, allocations: 115.3 kB / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.521, allocations: 9.625 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.521, allocations: 16.73 kB / 0.952 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.521, allocations: 317.6 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.521, allocations: 10.83 kB / 0.9523 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.5211, allocations: 19.34 kB / 0.9523 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.5211, allocations: 30.94 kB / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5211, allocations: 0 / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.635e-05/0.5212, allocations: 58.22 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5212, allocations: 9.719 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.5212, allocations: 0 / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.5212, allocations: 1.312 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.5213, allocations: 5.938 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5213, allocations: 0 / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.5213, allocations: 3.25 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.5213, allocations: 9.312 kB / 0.9524 GB, free: 5.949 MB / 0.7169 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 4.014e-05/0.5214, allocations: 108.6 kB / 0.9525 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.5214, allocations: 15.84 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.5214, allocations: 10.61 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.5214, allocations: 1.469 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5214, allocations: 1.281 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.5214, allocations: 0 / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5217, allocations: 478 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5217, allocations: 5.312 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.5217, allocations: 2.75 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5217, allocations: 1.375 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.5217, allocations: 4 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.5217, allocations: 9.297 kB / 0.953 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5217, allocations: 0 / 0.953 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.282e-05/0.5218, allocations: 78.28 kB / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.5218, allocations: 97.06 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5219, allocations: 1.375 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.5219, allocations: 0 / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.5219, allocations: 1.375 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.5219, allocations: 1.375 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.522, allocations: 119.4 kB / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.522, allocations: 3.969 kB / 0.9533 GB, free: 5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001806/0.5222, allocations: 10.88 kB / 0.9533 GB, free: 4.996 MB / 0.7169 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.0001964/0.5224, allocations: 0.6181 MB / 0.9539 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.297e-05/0.5224, allocations: 21.56 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5224, allocations: 1.469 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.5224, allocations: 3.812 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.5226, allocations: 12.25 kB / 0.954 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.5234, allocations: 1.352 MB / 0.9553 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.5235, allocations: 0.6913 MB / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.5235, allocations: 8.484 kB / 0.956 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.5235, allocations: 27.62 kB / 0.956 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5236, allocations: 0 / 0.956 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/2.124, allocations: 1.406 MB / 0.9574 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/2.124, allocations: 214.5 kB / 0.9576 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/3.65, allocations: 0 / 0.9576 GB, free: 1.395 MB / 0.7169 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