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.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.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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001241/0.001241, allocations: 195 kB / 16.14 MB, free: 6.656 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.221/2.221, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5078, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001413/0.5093, allocations: 0.8778 MB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 6.791e-05/0.5094, allocations: 45.22 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.5094, allocations: 1.375 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.5094, allocations: 3.938 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.5095, allocations: 5.312 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.934e-05/0.5095, allocations: 18.73 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.5096, allocations: 51.3 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.5097, allocations: 51 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.5097, allocations: 14.81 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.5098, allocations: 41.22 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.5098, allocations: 4.125 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.5098, allocations: 4.125 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.5098, allocations: 9.312 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.5098, allocations: 30.67 kB / 0.9502 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.309e-05/0.5099, allocations: 78.27 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.5099, allocations: 0 / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.11e-07/0.5099, allocations: 0 / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5099, allocations: 1.375 kB / 0.9503 GB, free: 8.223 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.0002296/0.5102, allocations: 386.5 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.5102, allocations: 9.625 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.888e-05/0.5102, allocations: 36.12 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.748e-05/0.5102, allocations: 10.34 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5103, allocations: 193.8 kB / 0.9509 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.5104, allocations: 8.5 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.5104, allocations: 4.5 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5105, allocations: 92.11 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.5105, allocations: 7.938 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.5105, allocations: 5.375 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5105, allocations: 1.375 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.5106, allocations: 39.3 kB / 0.951 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.5109, allocations: 437.3 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.5109, allocations: 45.56 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.511, allocations: 19.97 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.511, allocations: 0 / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-06/0.511, allocations: 31.88 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.511, allocations: 4 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.5111, allocations: 59.28 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.5111, allocations: 78.73 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.5112, allocations: 170.2 kB / 0.9518 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.5112, allocations: 26.92 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.5113, allocations: 107.7 kB / 0.9519 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/0.5113, allocations: 5.219 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.5113, allocations: 17.84 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.5113, allocations: 325.3 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.5114, allocations: 2.594 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.5114, allocations: 18.69 kB / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.5114, allocations: 30.27 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5114, allocations: 1.531 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.182e-05/0.5115, allocations: 58.55 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5115, allocations: 9.25 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.5115, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.5115, allocations: 1.344 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.5116, allocations: 8.922 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.5116, allocations: 1.375 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.5116, allocations: 6.156 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.5116, allocations: 1.656 kB / 0.9524 GB, free: 6.008 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 3.791e-05/0.5116, allocations: 116.8 kB / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.5117, allocations: 16.22 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.5117, allocations: 10.31 kB / 0.9525 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5117, allocations: 1.219 kB / 0.9525 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5117, allocations: 1.5 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.5117, allocations: 4.078 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.5119, allocations: 478.3 kB / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.512, allocations: 0 / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.512, allocations: 7.344 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.512, allocations: 1.062 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.512, allocations: 1.031 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.512, allocations: 0.875 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.512, allocations: 0 / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.785e-05/0.5121, allocations: 79.08 kB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.5121, allocations: 95.7 kB / 0.9532 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.5121, allocations: 1.281 kB / 0.9532 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.5121, allocations: 5.281 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.5121, allocations: 13.3 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.5121, allocations: 0 / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.5122, allocations: 116.7 kB / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5122, allocations: 0 / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001683/0.5124, allocations: 7.188 kB / 0.9533 GB, free: 5.051 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.0001693/0.5125, allocations: 0.6169 MB / 0.9539 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.978e-05/0.5126, allocations: 24.2 kB / 0.954 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.5126, allocations: 0 / 0.954 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.5126, allocations: 4.375 kB / 0.954 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.5128, allocations: 12.44 kB / 0.954 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.5135, allocations: 1.348 MB / 0.9553 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.48e-05/0.5135, allocations: 0.6952 MB / 0.956 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.5136, allocations: 4.188 kB / 0.956 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.5136, allocations: 27.3 kB / 0.956 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5136, allocations: 0 / 0.956 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.578/3.091, allocations: 1.424 MB / 0.9574 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/3.091, allocations: 215.1 kB / 0.9576 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/4.985, allocations: 0 / 0.9576 GB, free: 1.438 MB / 0.7169 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