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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001189/0.001189, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001403/0.001404, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005081, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8222, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0009879/0.8233, allocations: 0.5107 MB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.8234, allocations: 41.23 kB / 0.9541 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.8235, allocations: 1.406 kB / 0.9541 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.8235, allocations: 7.922 kB / 0.9541 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.8236, allocations: 5.297 kB / 0.9541 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.794e-05/0.8236, allocations: 20.05 kB / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.8237, allocations: 38.81 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.8238, allocations: 30.88 kB / 0.9542 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.8239, allocations: 13.16 kB / 0.9542 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.8239, allocations: 24.47 kB / 0.9543 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.824, allocations: 5.344 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.824, allocations: 1.438 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.824, allocations: 10.66 kB / 0.9543 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.824, allocations: 37.02 kB / 0.9543 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.204e-05/0.8241, allocations: 48.83 kB / 0.9544 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.8241, allocations: 0 / 0.9544 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8241, allocations: 0 / 0.9544 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8241, allocations: 0 / 0.9544 GB, free: 7.438 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.0003437/0.8245, allocations: 362.8 kB / 0.9547 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8245, allocations: 13.41 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.8246, allocations: 41.41 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.8246, allocations: 15.98 kB / 0.9548 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.8248, allocations: 192.9 kB / 0.955 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8248, allocations: 2.781 kB / 0.955 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.8248, allocations: 9.094 kB / 0.955 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.825, allocations: 93.39 kB / 0.9551 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.825, allocations: 0 / 0.9551 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.825, allocations: 5.125 kB / 0.9551 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.8251, allocations: 1.906 kB / 0.9551 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.8251, allocations: 42.78 kB / 0.9551 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.8257, allocations: 434 kB / 0.9555 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.03e-05/0.8258, allocations: 45.88 kB / 0.9556 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.8258, allocations: 0 / 0.9556 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.8258, allocations: 31.91 kB / 0.9556 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8258, allocations: 0 / 0.9556 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.826, allocations: 55.64 kB / 0.9557 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.8261, allocations: 81.3 kB / 0.9557 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.8263, allocations: 168.1 kB / 0.9559 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.8263, allocations: 25.7 kB / 0.9559 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.8264, allocations: 104.2 kB / 0.956 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.8264, allocations: 8.906 kB / 0.956 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.8264, allocations: 5.094 kB / 0.956 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.8265, allocations: 324.9 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.8265, allocations: 3.125 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.8265, allocations: 25.73 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.8266, allocations: 9.406 kB / 0.9564 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8266, allocations: 0 / 0.9564 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.69e-05/0.8267, allocations: 55.36 kB / 0.9564 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.8267, allocations: 4.812 kB / 0.9564 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8267, allocations: 1.156 kB / 0.9564 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8268, allocations: 3.984 kB / 0.9564 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.8269, allocations: 10 kB / 0.9564 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.8269, allocations: 5.406 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.8269, allocations: 1.156 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.8269, allocations: 2.438 kB / 0.9565 GB, free: 5.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.827, allocations: 116.4 kB / 0.9566 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.8271, allocations: 8.906 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.8271, allocations: 18.88 kB / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8271, allocations: 0 / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8271, allocations: 1.312 kB / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8271, allocations: 0 / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.8275, allocations: 479.2 kB / 0.9571 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8275, allocations: 0 / 0.9571 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.8275, allocations: 3.656 kB / 0.9571 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8276, allocations: 0 / 0.9571 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8276, allocations: 5.344 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8276, allocations: 1.281 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8276, allocations: 0 / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.8277, allocations: 95.97 kB / 0.9572 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.8277, allocations: 88.23 kB / 0.9572 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.8277, allocations: 5.641 kB / 0.9572 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.8278, allocations: 3.938 kB / 0.9572 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.8278, allocations: 5.641 kB / 0.9573 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8278, allocations: 1.469 kB / 0.9573 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.8279, allocations: 122.1 kB / 0.9574 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8279, allocations: 1.062 kB / 0.9574 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002016/0.8281, allocations: 11.25 kB / 0.9574 GB, free: 4.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/0.8284, allocations: 0.6975 MB / 0.9581 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.8285, allocations: 13.41 kB / 0.9581 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8285, allocations: 1.219 kB / 0.9581 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.8286, allocations: 11.47 kB / 0.9581 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.8287, allocations: 10.75 kB / 0.9581 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.8298, allocations: 0.6952 MB / 0.9588 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.83, allocations: 0.7005 MB / 0.9595 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.83, allocations: 7.797 kB / 0.9595 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.8301, allocations: 19.53 kB / 0.9595 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8301, allocations: 0 / 0.9595 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.8421, allocations: 1.472 MB / 0.9609 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.8423, allocations: 183.6 kB / 0.9611 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.528, allocations: 0 / 0.9611 GB, free: 1.34 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat