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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001163/0.001163, allocations: 111.8 kB / 16.42 MB, free: 6.031 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.001134/0.001134, allocations: 187.8 kB / 17.35 MB, free: 5.602 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002215, allocations: 67.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001977/1.133, allocations: 0.5351 MB / 1.227 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007372/1.134, allocations: 322.9 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/1.134, allocations: 0 / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/1.134, allocations: 0 / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/1.134, allocations: 7.938 kB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/1.135, allocations: 103.6 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.047e-05/1.135, allocations: 11.94 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/1.135, allocations: 4 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/1.135, allocations: 0 / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/1.135, allocations: 7.984 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/1.135, allocations: 11.92 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/1.135, allocations: 187.8 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/1.135, allocations: 0 / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/1.135, allocations: 0 / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/1.136, allocations: 88.28 kB / 1.228 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.136, allocations: 8 kB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.924e-06/1.136, allocations: 0 / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.136, allocations: 0 / 1.228 GB, free: 12.29 MB / 0.9512 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.0004125/1.136, allocations: 335.3 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/1.136, allocations: 12.03 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/1.136, allocations: 4.938 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.136, allocations: 168.3 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.136, allocations: 384 / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.136, allocations: 4.375 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.137, allocations: 38.19 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.137, allocations: 192 / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/1.137, allocations: 7.922 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.137, allocations: 0 / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/1.137, allocations: 4 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/1.137, allocations: 157.7 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/1.137, allocations: 22.58 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/1.137, allocations: 4.859 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/1.138, allocations: 0.5818 MB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/1.138, allocations: 38.5 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/1.138, allocations: 3.938 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005837/1.138, allocations: 258.3 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/1.138, allocations: 55.39 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/1.138, allocations: 102.1 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/1.138, allocations: 29.64 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/1.139, allocations: 80.14 kB / 1.229 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/1.139, allocations: 11.95 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.139, allocations: 17.7 kB / 1.229 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.139, allocations: 314.8 kB / 1.23 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/1.139, allocations: 4 kB / 1.23 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/1.139, allocations: 17.7 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.139e-05/1.139, allocations: 37.66 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/1.139, allocations: 0 / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.644e-05/1.139, allocations: 45.7 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.139, allocations: 9.078 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.139, allocations: 3.938 kB / 1.23 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.139, allocations: 0 / 1.23 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/1.139, allocations: 8 kB / 1.23 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.139, allocations: 8 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/1.139, allocations: 0 / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.139, allocations: 4 kB / 1.23 GB, free: 9.527 MB / 0.9512 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 8.212e-05/1.139, allocations: 106.4 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/1.139, allocations: 11.95 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/1.139, allocations: 61.05 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.139, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.139, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/1.139, allocations: 81.11 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/1.139, allocations: 0 / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/1.14, allocations: 4 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/1.14, allocations: 0 / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001549/1.14, allocations: 129.3 kB / 1.23 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000207/1.14, allocations: 234.8 kB / 1.23 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.917e-05/1.14, allocations: 12.02 kB / 1.23 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.552e-05/1.14, allocations: 83.28 kB / 1.231 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of Backend: time 4.1e-07/1.14, allocations: 7.938 kB / 1.231 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.141, allocations: 110.3 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004788/1.141, allocations: 0.5608 MB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of Templates: time 0.003914/1.145, allocations: 1.285 MB / 1.232 GB, free: 6.75 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches