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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9527/0.9527, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6998/0.6998, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.746e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001884/0.001901, allocations: 1.548 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000644/0.002545, allocations: 490.7 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.00261, allocations: 0 / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.00264, allocations: 3.938 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.002685, allocations: 7.875 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.002943, allocations: 39.89 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003045, allocations: 47.84 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.003144, allocations: 8 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003285, allocations: 39.83 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.003318, allocations: 19.92 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003334, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.003373, allocations: 7.984 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.003385, allocations: 11.98 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.003406, allocations: 11.94 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003518, allocations: 47.86 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.00352, allocations: 11.88 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003521, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003526, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB 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.0003843/0.00391, allocations: 292.4 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.003949, allocations: 8.031 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.003982, allocations: 38.75 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.004076, allocations: 16.92 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.00423, allocations: 121.7 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.004253, allocations: 8.375 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.004263, allocations: 384 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.004403, allocations: 62.23 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.00441, allocations: 192 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.004422, allocations: 8.125 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.004427, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.004566, allocations: 43.91 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.004909, allocations: 259.9 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.005116, allocations: 66.53 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.005165, allocations: 24.84 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.005181, allocations: 3.938 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.005198, allocations: 34.56 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.0052, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002986/0.005498, allocations: 85.61 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.005527, allocations: 55.41 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.005605, allocations: 126.1 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005616, allocations: 25.7 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.005649, allocations: 84.14 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.005668, allocations: 19.84 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.005694, allocations: 21.64 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.005799, allocations: 318.8 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.005843, allocations: 15.98 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.005881, allocations: 15.98 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.005962, allocations: 45.11 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005964, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.00607, allocations: 73.61 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006082, allocations: 7.938 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.006089, allocations: 4 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006101, allocations: 3.984 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/0.00614, allocations: 7.938 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006145, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.006169, allocations: 11.98 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006176, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB 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 5.556e-05/0.006232, allocations: 114.8 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.006244, allocations: 4 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.00627, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.006271, allocations: 4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006275, allocations: 0 / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006277, allocations: 3.984 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.006386, allocations: 140.6 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.006388, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.006416, allocations: 11.98 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.006417, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006425, allocations: 8 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006425, allocations: 0 / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006426, allocations: 0 / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.006627, allocations: 175.4 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-06/0.006636, allocations: 3.953 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.006645, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.006684, allocations: 8 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.006709, allocations: 3.984 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.006712, allocations: 4 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.006749, allocations: 105.8 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006749, allocations: 0 / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001398/0.006889, allocations: 8 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB 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.0003116/0.0072, allocations: 0.6929 MB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.007339, allocations: 47.91 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.00734, allocations: 0 / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.007384, allocations: 19.98 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.007584, allocations: 6.188 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.00874, allocations: 1.365 MB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.008784, allocations: 75.33 kB / 0.6248 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.008812, allocations: 4.328 kB / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.008853, allocations: 16.48 kB / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.008853, allocations: 0 / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.02253, allocations: 2.2 MB / 0.627 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.915, allocations: 5 kB / 0.627 GB, free: 4.262 MB / 0.5886 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.727535758167505] Failed to read output from testmodel.py, exit status != 0: 6.995233707129955 7.003831516 6.998653651 Calling exit ...