Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_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.001327/0.001327, allocations: 99.39 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.001429/0.001429, 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.863/1.863, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.094/3.094, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 11.98 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9041/0.9045, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001311/0.9058, allocations: 0.5187 MB / 0.9814 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.906, allocations: 43.8 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.9061, allocations: 4 kB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.9061, allocations: 7.922 kB / 0.9814 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.9062, allocations: 3.984 kB / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.821e-05/0.9063, allocations: 15.98 kB / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.9064, allocations: 35.91 kB / 0.9815 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.9066, allocations: 32.16 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.9066, allocations: 19.86 kB / 0.9815 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.9067, allocations: 23.8 kB / 0.9816 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.9067, allocations: 0 / 0.9816 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.9068, allocations: 4 kB / 0.9816 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.9068, allocations: 7.938 kB / 0.9816 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.9068, allocations: 33.7 kB / 0.9816 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.9069, allocations: 54.12 kB / 0.9817 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9069, allocations: 0 / 0.9817 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.016e-06/0.907, allocations: 4 kB / 0.9817 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.907, allocations: 0 / 0.9817 GB, free: 5.492 MB / 0.7325 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.00058/0.9076, allocations: 371 kB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.9076, allocations: 8.031 kB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.9077, allocations: 42.5 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.9077, allocations: 11.91 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.908, allocations: 183 kB / 0.9822 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.908, allocations: 4 kB / 0.9822 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9081, allocations: 8 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.9083, allocations: 108.8 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.9083, allocations: 0 / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.9083, allocations: 8 kB / 0.9824 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9084, allocations: 0 / 0.9824 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.9085, allocations: 35.98 kB / 0.9824 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.9092, allocations: 436.6 kB / 0.9828 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.9092, allocations: 37.16 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.9093, allocations: 4.125 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9093, allocations: 34.59 kB / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.9093, allocations: 4 kB / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.9095, allocations: 49.55 kB / 0.9829 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.9096, allocations: 85.05 kB / 0.983 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.9098, allocations: 168.1 kB / 0.9832 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.9098, allocations: 25.7 kB / 0.9832 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.9099, allocations: 104 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.9099, allocations: 11.84 kB / 0.9833 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.91, allocations: 4.25 kB / 0.9833 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.9102, allocations: 318.8 kB / 0.9836 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.9102, allocations: 8 kB / 0.9836 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.9102, allocations: 21.7 kB / 0.9837 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.9103, allocations: 4 kB / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9103, allocations: 0 / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.9104, allocations: 61.55 kB / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.9104, allocations: 8.062 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9104, allocations: 7.922 kB / 0.9837 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9104, allocations: 4 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.9105, allocations: 4 kB / 0.9837 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.9105, allocations: 3.953 kB / 0.9837 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.9106, allocations: 4 kB / 0.9837 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.9106, allocations: 0 / 0.9837 GB, free: 3.094 MB / 0.7325 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 0.0001075/0.9107, allocations: 113.8 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.9108, allocations: 7.906 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.9108, allocations: 23.8 kB / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9108, allocations: 0 / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.9108, allocations: 0 / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9108, allocations: 7.891 kB / 0.9839 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.9113, allocations: 466.7 kB / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9113, allocations: 0 / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.9113, allocations: 4 kB / 0.9843 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9113, allocations: 4.062 kB / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.9113, allocations: 96 / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9113, allocations: 7.953 kB / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9113, allocations: 0 / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.9115, allocations: 91.59 kB / 0.9844 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.9115, allocations: 85.02 kB / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.9116, allocations: 15.97 kB / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.9116, allocations: 0 / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.9116, allocations: 7.938 kB / 0.9845 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.9116, allocations: 0 / 0.9845 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.392e-05/0.9117, allocations: 122.5 kB / 0.9847 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9117, allocations: 0 / 0.9847 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001906/0.9119, allocations: 7.938 kB / 0.9847 GB, free: 2.035 MB / 0.7325 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.0004655/0.9124, allocations: 0.6954 MB / 0.9853 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.9125, allocations: 15.94 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9125, allocations: 0 / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.9125, allocations: 8.219 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.9127, allocations: 8 kB / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.9136, allocations: 0.7005 MB / 0.9861 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.9139, allocations: 0.7004 MB / 0.9867 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.914, allocations: 8.422 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.914, allocations: 19.44 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.914, allocations: 4 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.9254, allocations: 1.468 MB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.9256, allocations: 196.4 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.953, allocations: 4 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat