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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.86 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.00151/0.00151, 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 1.499/1.499, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005704/0.0005705, allocations: 15.94 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9276/0.9282, allocations: 153.6 MB / 1.021 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0008035/0.929, allocations: 276.6 kB / 1.021 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000605/0.9296, allocations: 303.3 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.9297, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.9297, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.9297, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.9301, allocations: 55.84 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.9301, allocations: 12 kB / 1.021 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.9302, allocations: 3.984 kB / 1.021 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.9302, allocations: 7.984 kB / 1.021 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.9303, allocations: 3.938 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.9303, allocations: 4 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.9306, allocations: 175.7 kB / 1.022 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.9306, allocations: 4 kB / 1.022 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.9306, allocations: 29.7 kB / 1.022 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.9308, allocations: 51.89 kB / 1.022 GB, free: 388 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9308, allocations: 0 / 1.022 GB, free: 388 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9308, allocations: 0 / 1.022 GB, free: 388 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.9308, allocations: 4 kB / 1.022 GB, free: 384 kB / 0.7637 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.000367/0.9312, allocations: 329.1 kB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001057/0.9313, allocations: 12.39 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.9313, allocations: 4 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.9315, allocations: 161.2 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.9315, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.9315, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.9317, allocations: 41.58 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.9317, allocations: 4 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.9317, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9317, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.9317, allocations: 7.938 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.9319, allocations: 153.7 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.932, allocations: 22.58 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/0.9327, allocations: 0.5779 MB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.9328, allocations: 38.5 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.9328, allocations: 0 / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005167/0.9333, allocations: 262.4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.9334, allocations: 51.41 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.9334, allocations: 101.8 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.9335, allocations: 25.7 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.9335, allocations: 88.12 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.9335, allocations: 7.844 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.9335, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9337, allocations: 314.8 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.9337, allocations: 12.02 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.9337, allocations: 17.95 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.043e-05/0.9337, allocations: 8 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.9337, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.176e-05/0.9338, allocations: 57.53 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9339, allocations: 4 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9339, allocations: 4.109 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9339, allocations: 7.984 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.934, allocations: 8 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.934, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.934, allocations: 8 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.934, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.7794 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.76e-05/0.9341, allocations: 105.8 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.9341, allocations: 7.984 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.9342, allocations: 57.11 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9343, allocations: 7.953 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9343, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9343, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.9344, allocations: 153.7 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9344, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.9345, allocations: 8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9345, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.9345, allocations: 3.984 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9345, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9345, allocations: 3.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.9347, allocations: 85.09 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.9347, allocations: 84.95 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.9347, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.9348, allocations: 7.938 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.9348, allocations: 11.94 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.9348, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.9349, allocations: 79.28 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9349, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002246/0.9351, allocations: 28.06 kB / 1.025 GB, free: 12.94 MB / 0.7794 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.0002067/0.9353, allocations: 123.2 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.9354, allocations: 19.92 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9354, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.9354, allocations: 8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.9356, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.9359, allocations: 112.8 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.9362, allocations: 0.677 MB / 1.025 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.9363, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.9363, allocations: 7.438 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9363, allocations: 4 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.003274/0.9396, allocations: 1.176 MB / 1.027 GB, free: 10.75 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches