Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.002342/0.002342, allocations: 100 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.003214/0.003214, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.854/2.854, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.002/5.002, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008073/0.0008078, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58/1.581, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001267/1.582, allocations: 276.7 kB / 0.9811 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.583, allocations: 301.7 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/1.583, allocations: 0 / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/1.583, allocations: 0 / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/1.584, allocations: 0 / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/1.584, allocations: 59.84 kB / 0.9815 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/1.584, allocations: 15.97 kB / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/1.584, allocations: 0 / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/1.584, allocations: 4 kB / 0.9815 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/1.585, allocations: 3.938 kB / 0.9815 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/1.585, allocations: 3.938 kB / 0.9815 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/1.585, allocations: 175.8 kB / 0.9817 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/1.585, allocations: 11.98 kB / 0.9817 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/1.585, allocations: 25.7 kB / 0.9817 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/1.585, allocations: 55.89 kB / 0.9818 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.585, allocations: 3.938 kB / 0.9818 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.418e-06/1.585, allocations: 0 / 0.9818 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.585, allocations: 0 / 0.9818 GB, free: 5.383 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007103/1.586, allocations: 333.6 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.526e-05/1.586, allocations: 8.031 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.767e-05/1.586, allocations: 34.56 kB / 0.9821 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/1.586, allocations: 4 kB / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/1.587, allocations: 163.1 kB / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.587, allocations: 3.938 kB / 0.9823 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/1.587, allocations: 4 kB / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/1.587, allocations: 37.64 kB / 0.9823 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.587, allocations: 0 / 0.9823 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/1.587, allocations: 0 / 0.9823 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.587, allocations: 0 / 0.9823 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/1.587, allocations: 4 kB / 0.9823 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/1.588, allocations: 153.7 kB / 0.9825 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/1.588, allocations: 30.55 kB / 0.9825 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.589, allocations: 0.5817 MB / 0.9831 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.777e-05/1.589, allocations: 38.56 kB / 0.9831 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/1.589, allocations: 0 / 0.9831 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001122/1.59, allocations: 250.3 kB / 0.9833 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.591, allocations: 51.41 kB / 0.9834 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.591, allocations: 101.8 kB / 0.9835 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.591, allocations: 29.92 kB / 0.9835 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/1.591, allocations: 84.14 kB / 0.9836 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/1.591, allocations: 11.84 kB / 0.9836 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/1.591, allocations: 0 / 0.9836 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.591, allocations: 314.8 kB / 0.9839 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/1.591, allocations: 4 kB / 0.9839 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/1.591, allocations: 17.95 kB / 0.9839 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/1.591, allocations: 12 kB / 0.9839 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.591, allocations: 0 / 0.9839 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001664/1.591, allocations: 61.53 kB / 0.984 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/1.592, allocations: 5.094 kB / 0.984 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.592, allocations: 4 kB / 0.984 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.592, allocations: 4.047 kB / 0.984 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/1.592, allocations: 8 kB / 0.984 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.592, allocations: 0 / 0.984 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/1.592, allocations: 7.969 kB / 0.984 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/1.592, allocations: 8.062 kB / 0.984 GB, free: 2.645 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.0001411/1.592, allocations: 111.3 kB / 0.9841 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/1.592, allocations: 4 kB / 0.9841 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/1.592, allocations: 61.11 kB / 0.9842 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.592, allocations: 0 / 0.9842 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.592, allocations: 3.953 kB / 0.9842 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.592, allocations: 0 / 0.9842 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/1.593, allocations: 153.7 kB / 0.9844 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.593, allocations: 0 / 0.9844 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.593, allocations: 15.98 kB / 0.9844 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.593, allocations: 0 / 0.9844 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/1.593, allocations: 0 / 0.9844 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.593, allocations: 3.938 kB / 0.9844 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.593, allocations: 3.938 kB / 0.9844 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/1.593, allocations: 77.08 kB / 0.9844 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/1.593, allocations: 85.05 kB / 0.9845 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/1.593, allocations: 3.984 kB / 0.9845 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/1.593, allocations: 4.062 kB / 0.9845 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/1.593, allocations: 4 kB / 0.9845 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/1.593, allocations: 0 / 0.9845 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.545e-05/1.593, allocations: 79.23 kB / 0.9846 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/1.593, allocations: 4 kB / 0.9846 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004679/1.594, allocations: 31.98 kB / 0.9847 GB, free: 1.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.001008/1.595, allocations: 0.6407 MB / 0.9853 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.595, allocations: 16 kB / 0.9853 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.595, allocations: 0 / 0.9853 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/1.595, allocations: 15.92 kB / 0.9853 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/1.595, allocations: 0 / 0.9853 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.597, allocations: 0.51 MB / 0.9858 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/1.597, allocations: 0.6809 MB / 0.9865 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.576e-05/1.597, allocations: 4.469 kB / 0.9865 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/1.597, allocations: 15.42 kB / 0.9865 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.597, allocations: 3.938 kB / 0.9865 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/1.657, allocations: 1.875 MB / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004558/1.657, allocations: 221.4 kB / 0.9885 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.044/5.701, allocations: 2.109 kB / 0.9885 GB, free: 13.96 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat does not exist to compare? outputFormat=mat