Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",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.001105/0.001105, 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.001115/0.001115, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7671/0.7671, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.25 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4073, allocations: 80.19 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002982/0.4103, allocations: 1.526 MB / 0.5817 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006774/0.411, allocations: 440.1 kB / 0.5821 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.4111, allocations: 8.688 kB / 0.5821 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.4111, allocations: 5.344 kB / 0.5821 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.4112, allocations: 5.062 kB / 0.5821 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.4114, allocations: 30.95 kB / 0.5821 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.4115, allocations: 39.44 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.4116, allocations: 17.52 kB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.4117, allocations: 27.17 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.4117, allocations: 23.83 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4118, allocations: 3.969 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.4118, allocations: 3.406 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.4118, allocations: 14.81 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.4118, allocations: 18.97 kB / 0.5823 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.806e-05/0.4119, allocations: 45.36 kB / 0.5823 GB, free: 3.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4119, allocations: 3.938 kB / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4119, allocations: 0 / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.412, allocations: 0.8438 kB / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004634/0.4124, allocations: 371 kB / 0.5827 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4125, allocations: 10.8 kB / 0.5827 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.4125, allocations: 36.2 kB / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.4126, allocations: 8.438 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/0.4126, allocations: 173 kB / 0.5829 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4127, allocations: 1.344 kB / 0.5829 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4127, allocations: 3.031 kB / 0.5829 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4129, allocations: 77 kB / 0.583 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4129, allocations: 0.6562 kB / 0.583 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.4129, allocations: 0 / 0.583 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4129, allocations: 1.375 kB / 0.583 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.4131, allocations: 39.02 kB / 0.583 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4135, allocations: 291.9 kB / 0.5833 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.4139, allocations: 69.36 kB / 0.5834 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.414, allocations: 24.3 kB / 0.5834 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.414, allocations: 0 / 0.5834 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.414, allocations: 32.69 kB / 0.5834 GB, free: 2.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.414, allocations: 4 kB / 0.5834 GB, free: 2.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003686/0.4144, allocations: 84.42 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.4144, allocations: 60 kB / 0.5835 GB, free: 1.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.4145, allocations: 123.5 kB / 0.5837 GB, free: 1.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.4145, allocations: 30.3 kB / 0.5837 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.4146, allocations: 87.67 kB / 0.5838 GB, free: 1.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.4146, allocations: 14.48 kB / 0.5838 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.4146, allocations: 21.41 kB / 0.5838 GB, free: 1.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.4147, allocations: 322.3 kB / 0.5841 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.4148, allocations: 13.55 kB / 0.5841 GB, free: 1.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.4149, allocations: 22.36 kB / 0.5842 GB, free: 1.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.415, allocations: 39.47 kB / 0.5842 GB, free: 1.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.415, allocations: 0 / 0.5842 GB, free: 1.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.4153, allocations: 68.3 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4153, allocations: 8.5 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4153, allocations: 3.938 kB / 0.5843 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4153, allocations: 0 / 0.5843 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.4154, allocations: 14.58 kB / 0.5843 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4154, allocations: 3.938 kB / 0.5843 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.4155, allocations: 5.781 kB / 0.5843 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.4155, allocations: 4.734 kB / 0.5843 GB, free: 1.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 4.648e-05/0.4155, allocations: 114.4 kB / 0.5844 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.4156, allocations: 5.875 kB / 0.5844 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.4156, allocations: 11.22 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4156, allocations: 0 / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4156, allocations: 0 / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4156, allocations: 0.5625 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.4157, allocations: 173.6 kB / 0.5846 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4158, allocations: 0.9375 kB / 0.5846 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.4158, allocations: 12.81 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4158, allocations: 5.375 kB / 0.5846 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.4159, allocations: 0.5156 kB / 0.5846 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4159, allocations: 1.922 kB / 0.5846 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4159, allocations: 0 / 0.5846 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.4161, allocations: 175.5 kB / 0.5848 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.4161, allocations: 79.95 kB / 0.5849 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4161, allocations: 1.672 kB / 0.5849 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.4163, allocations: 8.562 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.4163, allocations: 3.172 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4163, allocations: 1.125 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.4163, allocations: 105.1 kB / 0.585 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 0 / 0.585 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000226/0.4166, allocations: 5.5 kB / 0.585 GB, free: 0.5547 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0004613/0.417, allocations: 0.6982 MB / 0.5857 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4173, allocations: 39.39 kB / 0.5857 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4173, allocations: 0 / 0.5857 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4174, allocations: 22.53 kB / 0.5857 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4177, allocations: 1.859 kB / 0.5857 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4193, allocations: 1.357 MB / 0.587 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4195, allocations: 0.6824 MB / 0.5877 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.4196, allocations: 8.125 kB / 0.5877 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.4196, allocations: 14.45 kB / 0.5877 GB, free: 13.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4196, allocations: 0 / 0.5877 GB, free: 13.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.4364, allocations: 1.457 MB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.503, allocations: 11.56 kB / 0.5892 GB, free: 13.57 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)