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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001599/0.001599, 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.001629/0.001629, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.286/1.286, 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 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6172/0.6184, allocations: 140.4 MB / 0.9497 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001815/0.6203, allocations: 0.8163 MB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.501e-05/0.6204, allocations: 45.28 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.6204, allocations: 5.312 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.6204, allocations: 7.875 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.6205, allocations: 3.938 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.097e-05/0.6206, allocations: 20.09 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.6207, allocations: 63.23 kB / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.6208, allocations: 44.44 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.6209, allocations: 24.12 kB / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.6209, allocations: 33.28 kB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.6209, allocations: 9.5 kB / 0.9508 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.6209, allocations: 5.5 kB / 0.9508 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.621, allocations: 14.69 kB / 0.9508 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.621, allocations: 30.67 kB / 0.9508 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.6211, allocations: 74.27 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6211, allocations: 1.188 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6211, allocations: 0 / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6211, allocations: 3.938 kB / 0.9509 GB, free: 8.156 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.0003077/0.6214, allocations: 382.2 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6215, allocations: 18.62 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.6215, allocations: 36.44 kB / 0.9513 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.6215, allocations: 10.03 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6217, allocations: 195 kB / 0.9515 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.6217, allocations: 3.062 kB / 0.9515 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.6217, allocations: 9.312 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.6218, allocations: 93.31 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6219, allocations: 3.938 kB / 0.9516 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6219, allocations: 9.219 kB / 0.9516 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6219, allocations: 1.469 kB / 0.9516 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.6219, allocations: 36.14 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.6223, allocations: 437.2 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.6224, allocations: 36.53 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.6224, allocations: 23.94 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.6224, allocations: 1.281 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.6225, allocations: 32.12 kB / 0.9522 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6225, allocations: 0 / 0.9522 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.6226, allocations: 66.47 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.6226, allocations: 78.45 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.6227, allocations: 158.7 kB / 0.9525 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.6228, allocations: 26.52 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.6228, allocations: 116.4 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.6228, allocations: 9.266 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.6228, allocations: 16.28 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.6229, allocations: 325.5 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.6229, allocations: 7.719 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.6229, allocations: 18.22 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.3e-05/0.623, allocations: 26.22 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.623, allocations: 1.312 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.643e-05/0.623, allocations: 58.09 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6231, allocations: 11.81 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.6231, allocations: 7.938 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.6231, allocations: 1.75 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.6231, allocations: 5.219 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.6232, allocations: 1.25 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.6232, allocations: 1.344 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.6232, allocations: 1.188 kB / 0.9531 GB, free: 5.938 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.54e-05/0.6232, allocations: 117.6 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.6233, allocations: 15.81 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.6233, allocations: 15.78 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.6233, allocations: 0 / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6233, allocations: 1.344 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.6233, allocations: 0 / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.6236, allocations: 471 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6236, allocations: 0 / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.6236, allocations: 6.672 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.6236, allocations: 1.219 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6236, allocations: 9.625 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6236, allocations: 0 / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.6236, allocations: 1.5 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.878e-05/0.6237, allocations: 82.12 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.6237, allocations: 92 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.6238, allocations: 1.031 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/0.6238, allocations: 4.031 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.6238, allocations: 2.188 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.6238, allocations: 1.156 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.6239, allocations: 123.6 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6239, allocations: 5.969 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001783/0.6241, allocations: 6.375 kB / 0.954 GB, free: 4.98 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.0002183/0.6243, allocations: 0.619 MB / 0.9546 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.797e-05/0.6244, allocations: 18.77 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6244, allocations: 0 / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.6244, allocations: 7.906 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.6245, allocations: 7.844 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.6254, allocations: 1.324 MB / 0.9559 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.6255, allocations: 0.7024 MB / 0.9566 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.6255, allocations: 5.656 kB / 0.9566 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.6256, allocations: 27.48 kB / 0.9566 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6256, allocations: 0 / 0.9566 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/0.6694, allocations: 1.536 MB / 0.9581 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/7.506, allocations: 19.86 kB / 0.9581 GB, free: 1.512 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