Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001121/0.001121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009337/0.0009337, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 286.8 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8767/0.8767, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 108.3 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1505, allocations: 86.97 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001476/0.152, allocations: 0.5911 MB / 0.6803 GB, free: 360 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005329/0.1525, allocations: 323 kB / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1526, allocations: 0 / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1526, allocations: 0 / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.367e-05/0.1526, allocations: 3.938 kB / 0.6806 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.153, allocations: 96.83 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.362e-05/0.153, allocations: 8.625 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.153, allocations: 0 / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.1531, allocations: 8.875 kB / 0.6807 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.1531, allocations: 3.984 kB / 0.6807 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1531, allocations: 4.625 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.1534, allocations: 179.8 kB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.1534, allocations: 17.36 kB / 0.6809 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.1534, allocations: 0 / 0.6809 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1535, allocations: 87.72 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1535, allocations: 4 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1536, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1536, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB 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.0002914/0.1539, allocations: 335.6 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1539, allocations: 8.031 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1539, allocations: 34.75 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.154, allocations: 0.9375 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.1541, allocations: 172.2 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1541, allocations: 384 / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1541, allocations: 4.375 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.1542, allocations: 42.25 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1542, allocations: 3.938 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.1542, allocations: 0 / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1542, allocations: 0 / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1542, allocations: 4 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1544, allocations: 153.7 kB / 0.6817 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4e-05/0.1544, allocations: 26.52 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.1544, allocations: 12.84 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005229/0.155, allocations: 0.5701 MB / 0.6823 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.155, allocations: 38.55 kB / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.155, allocations: 4 kB / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004056/0.1554, allocations: 258.2 kB / 0.6826 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.1554, allocations: 51.41 kB / 0.6827 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.1555, allocations: 101.8 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1555, allocations: 25.7 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.1556, allocations: 80.14 kB / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.1556, allocations: 20.05 kB / 0.6829 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1556, allocations: 17.72 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.1557, allocations: 314.8 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1557, allocations: 4 kB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.1558, allocations: 17.7 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.1558, allocations: 33.66 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1558, allocations: 4 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.109e-05/0.1559, allocations: 53.62 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1559, allocations: 7.938 kB / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1559, allocations: 0 / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1559, allocations: 0 / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.156, allocations: 8 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.156, allocations: 0 / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.156, allocations: 0 / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.156, allocations: 4 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB 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 6.406e-05/0.1561, allocations: 111.2 kB / 0.6834 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1561, allocations: 15.83 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1562, allocations: 61.44 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1562, allocations: 4.031 kB / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1562, allocations: 0 / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1562, allocations: 0 / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.35e-05/0.1563, allocations: 157.7 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1563, allocations: 0 / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.1564, allocations: 8 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1564, allocations: 3.938 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.1564, allocations: 4 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1564, allocations: 3.984 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1564, allocations: 0 / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1565, allocations: 77.16 kB / 0.6838 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.1566, allocations: 84.98 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.1566, allocations: 3.938 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.1566, allocations: 4 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1567, allocations: 12.05 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1567, allocations: 0 / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.841e-05/0.1567, allocations: 79.28 kB / 0.6839 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1567, allocations: 0 / 0.6839 GB, free: 12.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.1569, allocations: 28 kB / 0.684 GB, free: 12.09 MB / 494.1 MB 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 (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.0004038/0.1573, allocations: 0.6475 MB / 0.6846 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.1574, allocations: 19.92 kB / 0.6846 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1574, allocations: 4 kB / 0.6846 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.1574, allocations: 4 kB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1576, allocations: 10.09 kB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.1584, allocations: 1.134 MB / 0.6857 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1586, allocations: 0.6846 MB / 0.6864 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.1586, allocations: 4 kB / 0.6864 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.1587, allocations: 11.44 kB / 0.6864 GB, free: 9.434 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1587, allocations: 0 / 0.6864 GB, free: 9.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/1.523, allocations: 2.018 MB / 0.6884 GB, free: 7.621 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/1.523, allocations: 245.2 kB / 0.6886 GB, free: 7.367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/3.28, allocations: 4.094 kB / 0.6886 GB, free: 7.367 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)