Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] 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.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.88 kB / 1.059 GB, free: 1 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2551, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005435/0.2605, allocations: 3.961 MB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.2633, allocations: 1.807 MB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.2634, allocations: 7.938 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2648, allocations: 0.5095 MB / 1.222 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.2653, allocations: 222.9 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.2658, allocations: 219.5 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.2664, allocations: 470.5 kB / 1.223 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.2668, allocations: 269.4 kB / 1.223 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.2671, allocations: 207.2 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.2675, allocations: 223.2 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.2675, allocations: 28 kB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.2679, allocations: 255.4 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.268, allocations: 123.6 kB / 1.224 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2682, allocations: 175.2 kB / 1.224 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.2688, allocations: 0.502 MB / 1.224 GB, free: 7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2688, allocations: 0 / 1.224 GB, free: 7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2688, allocations: 3.984 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.2688, allocations: 4 kB / 1.224 GB, free: 6.992 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009835/0.2698, allocations: 0.6311 MB / 1.225 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2698, allocations: 8.031 kB / 1.225 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.568e-05/0.2699, allocations: 78.66 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.2708, allocations: 136.5 kB / 1.225 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.2711, allocations: 295.8 kB / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2711, allocations: 21.03 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.2712, allocations: 32.36 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.2718, allocations: 463.7 kB / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2718, allocations: 4 kB / 1.226 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.2719, allocations: 15.94 kB / 1.226 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.2719, allocations: 32.53 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.2724, allocations: 321.9 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.2745, allocations: 2.181 MB / 1.228 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.2749, allocations: 239.8 kB / 1.229 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2751, allocations: 104.8 kB / 1.229 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.2751, allocations: 0 / 1.229 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2752, allocations: 42.55 kB / 1.229 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.2752, allocations: 0 / 1.229 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0005669/0.2757, allocations: 287.4 kB / 1.229 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2758, allocations: 63.34 kB / 1.229 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.2761, allocations: 266.6 kB / 1.229 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2761, allocations: 29.7 kB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2762, allocations: 212.2 kB / 1.23 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.2762, allocations: 51.58 kB / 1.23 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.2763, allocations: 53.89 kB / 1.23 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2765, allocations: 334.8 kB / 1.23 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.2766, allocations: 52.44 kB / 1.23 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2767, allocations: 148 kB / 1.23 GB, free: 468 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.277, allocations: 227.2 kB / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.277, allocations: 0 / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004259/0.2774, allocations: 269 kB / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2774, allocations: 8 kB / 1.231 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2775, allocations: 4 kB / 1.231 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2776, allocations: 28.78 kB / 1.231 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.2778, allocations: 47.92 kB / 1.231 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.2789, allocations: 1.418 MB / 1.232 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.279, allocations: 31.77 kB / 1.232 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.279, allocations: 8.156 kB / 1.232 GB, free: 14.24 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.2792, allocations: 173.7 kB / 1.232 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.2792, allocations: 31.81 kB / 1.232 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.2793, allocations: 25.91 kB / 1.232 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.2793, allocations: 4 kB / 1.232 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2793, allocations: 3.984 kB / 1.232 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2793, allocations: 0 / 1.232 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008749/0.2802, allocations: 0.7064 MB / 1.233 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2802, allocations: 4 kB / 1.233 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2803, allocations: 19.98 kB / 1.233 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.895e-05/0.2804, allocations: 32.97 kB / 1.233 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2804, allocations: 4 kB / 1.233 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.2814, allocations: 1.41 MB / 1.234 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2814, allocations: 0 / 1.234 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.2818, allocations: 321.3 kB / 1.235 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2819, allocations: 112.9 kB / 1.235 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2819, allocations: 8 kB / 1.235 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2821, allocations: 11.98 kB / 1.235 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2821, allocations: 23.86 kB / 1.235 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2821, allocations: 8 kB / 1.235 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001835/0.2823, allocations: 186 kB / 1.235 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2823, allocations: 0 / 1.235 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003597/0.2826, allocations: 79.83 kB / 1.235 GB, free: 10.79 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006287/0.2833, allocations: 0.8547 MB / 1.236 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.2837, allocations: 276.9 kB / 1.236 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2837, allocations: 0 / 1.236 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.2839, allocations: 175.7 kB / 1.236 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2843, allocations: 54.66 kB / 1.237 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.2874, allocations: 2.728 MB / 1.239 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2878, allocations: 0.7947 MB / 1.24 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.2879, allocations: 46.25 kB / 1.24 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.288, allocations: 83.41 kB / 1.24 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.288, allocations: 0 / 1.24 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.3193, allocations: 5.407 MB / 1.245 GB, free: 240 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.13, allocations: 2.953 kB / 1.245 GB, free: 240 kB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.348079453004175]