Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.623/2.623, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 189.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 106 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 11.56 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9983/1.22, allocations: 137.6 MB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.22, allocations: 86.58 kB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009934/1.23, allocations: 1.82 MB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.23, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.283e-05/1.23, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 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.0004377/1.231, allocations: 347.7 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.231, allocations: 7.75 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/1.231, allocations: 30.56 kB / 1.115 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/1.231, allocations: 4.656 kB / 1.115 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/1.231, allocations: 173.7 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/1.231, allocations: 2.625 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.231, allocations: 7.625 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.231, allocations: 37.3 kB / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.231, allocations: 2.719 kB / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/1.231, allocations: 0 / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.231, allocations: 0 / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/1.231, allocations: 3.688 kB / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/1.231, allocations: 160 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/1.231, allocations: 26.47 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/1.232, allocations: 0.5771 MB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.232, allocations: 38.34 kB / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.407e-06/1.232, allocations: 4 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0006201/1.233, allocations: 247.8 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.233, allocations: 55.31 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/1.233, allocations: 87.81 kB / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.233, allocations: 29.58 kB / 1.116 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/1.233, allocations: 87.59 kB / 1.116 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/1.233, allocations: 7.812 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.233, allocations: 4.219 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.233, allocations: 321.4 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/1.233, allocations: 0 / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/1.233, allocations: 20.41 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/1.233, allocations: 10.52 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.233, allocations: 0 / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001217/1.234, allocations: 55.09 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.234, allocations: 11.66 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.234, allocations: 0.9375 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.234, allocations: 0 / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/1.234, allocations: 7.531 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.234, allocations: 0 / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/1.234, allocations: 3.938 kB / 1.117 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.234, allocations: 3.812 kB / 1.117 GB, free: 28.95 MB / 0.698 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 9.614e-05/1.234, allocations: 114.9 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/1.234, allocations: 3.875 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/1.234, allocations: 68.98 kB / 1.117 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.234, allocations: 0 / 1.117 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.234, allocations: 0 / 1.117 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.234, allocations: 3.938 kB / 1.117 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/1.234, allocations: 154.3 kB / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.234, allocations: 3.953 kB / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/1.234, allocations: 7.812 kB / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.234, allocations: 3.938 kB / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/1.234, allocations: 0 / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.234, allocations: 4 kB / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.234, allocations: 0 / 1.117 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/1.235, allocations: 83.83 kB / 1.117 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.235, allocations: 81.06 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.235, allocations: 2.906 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/1.235, allocations: 0 / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/1.235, allocations: 4.297 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/1.235, allocations: 0 / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.561e-05/1.235, allocations: 89.89 kB / 1.117 GB, free: 28.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.235, allocations: 0 / 1.117 GB, free: 28.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003405/1.235, allocations: 34.41 kB / 1.117 GB, free: 28.33 MB / 0.698 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.0006074/1.236, allocations: 0.6451 MB / 1.118 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001127/1.236, allocations: 21.69 kB / 1.118 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.236, allocations: 0 / 1.118 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.696e-05/1.236, allocations: 10.2 kB / 1.118 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/1.236, allocations: 3.969 kB / 1.118 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/1.237, allocations: 0.5427 MB / 1.119 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/1.237, allocations: 0.6808 MB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.388e-05/1.237, allocations: 0 / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/1.237, allocations: 12.75 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.237, allocations: 0 / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/1.257, allocations: 1.745 MB / 1.121 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.258, allocations: 214.6 kB / 1.121 GB, free: 26.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.658, allocations: 0 / 1.121 GB, free: 26.14 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)