Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_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.001629/0.001629, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5244, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001511/0.5259, allocations: 0.5249 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.5265, allocations: 326.9 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.5265, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.5265, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.5266, allocations: 3.938 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.5269, allocations: 107.6 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.527, allocations: 11.94 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.527, allocations: 7.969 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.576e-05/0.527, allocations: 4 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.5271, allocations: 3.938 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.5271, allocations: 4 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.5274, allocations: 191.7 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.5274, allocations: 4 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.5274, allocations: 7.984 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.5275, allocations: 83.8 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5276, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5276, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5276, allocations: 0 / 1.019 GB, free: 1.191 MB / 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.0002827/0.5279, allocations: 341.7 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.5279, allocations: 8.031 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.5279, allocations: 30.75 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.528, allocations: 4.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.5281, allocations: 168.4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.5281, allocations: 384 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5281, allocations: 8.359 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.5282, allocations: 38.2 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5282, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5282, allocations: 3.984 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.5282, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.5282, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.5284, allocations: 157.6 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.5284, allocations: 22.58 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.5284, allocations: 4.859 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/0.529, allocations: 0.5779 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.5291, allocations: 38.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.5291, allocations: 3.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000443/0.5295, allocations: 258.3 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.5296, allocations: 51.41 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.5296, allocations: 97.84 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5297, allocations: 25.92 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.5297, allocations: 88.14 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.5297, allocations: 11.81 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.5297, allocations: 17.72 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.5298, allocations: 314.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.5299, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.5299, allocations: 21.72 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.5299, allocations: 29.66 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.53, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.769e-05/0.53, allocations: 49.69 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5301, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5301, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.5301, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.5301, allocations: 11.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5301, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.5302, allocations: 4.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5302, allocations: 8 kB / 1.021 GB, free: 14.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.5302, allocations: 105.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.5303, allocations: 7.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.5304, allocations: 53.17 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5304, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5304, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5304, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.5306, allocations: 153.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5306, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.5306, allocations: 11.94 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5306, allocations: 4.312 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.5306, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5306, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5307, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5308, allocations: 84.98 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.5308, allocations: 89.03 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.5308, allocations: 4.062 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.5309, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.5309, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5309, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.5309, allocations: 79.28 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5309, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.5312, allocations: 27.98 kB / 1.022 GB, free: 13.65 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 (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.0003991/0.5316, allocations: 0.6514 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.5317, allocations: 11.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5317, allocations: 7.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.5317, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5318, allocations: 4.562 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.5326, allocations: 1.135 MB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.5328, allocations: 0.6768 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.5328, allocations: 7.938 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.5328, allocations: 7.438 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5328, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9781/1.511, allocations: 2.082 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.91, allocations: 7.609 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches