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.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.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.001403/0.001403, 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.001688/0.001688, allocations: 193 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.145/2.145, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5179, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001569/0.5195, allocations: 0.8133 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.594e-05/0.5196, allocations: 41.06 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.5196, allocations: 1.406 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.5197, allocations: 11.81 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.5197, allocations: 13.02 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.489e-05/0.5198, allocations: 19.39 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.5199, allocations: 59.59 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.52, allocations: 44.48 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.52, allocations: 19.66 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.5201, allocations: 36.56 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.5201, allocations: 6.094 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.5201, allocations: 6.875 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.5201, allocations: 17.41 kB / 0.9508 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.5202, allocations: 35.2 kB / 0.9508 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.5202, allocations: 74.61 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5202, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5203, allocations: 1.344 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5203, allocations: 0 / 0.9509 GB, free: 8.262 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.0002638/0.5205, allocations: 385.9 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.5206, allocations: 9.938 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.5206, allocations: 37.25 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.5206, allocations: 17.52 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5207, allocations: 193.7 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.5208, allocations: 8.188 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.5208, allocations: 5.469 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.5209, allocations: 93.56 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.5209, allocations: 7.938 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.5209, allocations: 1 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5209, allocations: 2.562 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.521, allocations: 43.31 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.5213, allocations: 432.7 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.441e-05/0.5214, allocations: 45.59 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.5214, allocations: 19.56 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.5214, allocations: 0 / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.5214, allocations: 32.31 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5214, allocations: 0 / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.5216, allocations: 63.94 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.5216, allocations: 77.11 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.5217, allocations: 163.4 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.5217, allocations: 27.27 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.5217, allocations: 110.8 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.5218, allocations: 5.281 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.5218, allocations: 17.59 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.5218, allocations: 329.5 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.5218, allocations: 3.5 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.5219, allocations: 22.47 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.5219, allocations: 30.73 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5219, allocations: 0 / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.216e-05/0.522, allocations: 58.36 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.522, allocations: 11.31 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.522, allocations: 0 / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.522, allocations: 1.438 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.5221, allocations: 8.891 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.5221, allocations: 1.375 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.5221, allocations: 2.844 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.5221, allocations: 1.312 kB / 0.9531 GB, free: 6.039 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.788e-05/0.5221, allocations: 112.3 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.5222, allocations: 16.78 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.5222, allocations: 10.34 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.5222, allocations: 5.234 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5222, allocations: 0 / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.5222, allocations: 5.219 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.5225, allocations: 473.5 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5225, allocations: 1.344 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.5225, allocations: 6.938 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5225, allocations: 5.312 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.5225, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5225, allocations: 1.375 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5225, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.873e-05/0.5226, allocations: 78.8 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.5226, allocations: 95.86 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.5226, allocations: 5.438 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.5226, allocations: 1.562 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.5226, allocations: 3.984 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.5227, allocations: 1.281 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.5227, allocations: 124.5 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5227, allocations: 0 / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001734/0.5229, allocations: 7.844 kB / 0.954 GB, free: 5.082 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.0001816/0.5231, allocations: 0.6191 MB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.5232, allocations: 18.75 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5232, allocations: 0 / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.5232, allocations: 4.344 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.5233, allocations: 11.06 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.524, allocations: 1.327 MB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.593e-05/0.5241, allocations: 0.6938 MB / 0.9566 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.5242, allocations: 13 kB / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.5242, allocations: 22.69 kB / 0.9566 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5242, allocations: 1.594 kB / 0.9566 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/1.557, allocations: 1.542 MB / 0.9581 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.873/11.43, allocations: 9.031 kB / 0.9581 GB, free: 1.621 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