Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001363/0.001363, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001516/0.001516, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.063/3.063, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 69.02 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006024/0.3321, allocations: 3.888 MB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.3352, allocations: 1.807 MB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3353, allocations: 7.938 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.3367, allocations: 0.4952 MB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.3372, allocations: 230.8 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.3377, allocations: 215.3 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.3383, allocations: 474.4 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.3388, allocations: 293.5 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.3391, allocations: 199.3 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.3395, allocations: 239.1 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.3395, allocations: 28 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.3399, allocations: 247.5 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.34, allocations: 131.6 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3402, allocations: 179.1 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.3409, allocations: 0.4981 MB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3409, allocations: 3.984 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3409, allocations: 0 / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3409, allocations: 4 kB / 1.329 GB, free: 10.42 MB / 1.029 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.001059/0.342, allocations: 0.6388 MB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.342, allocations: 11.98 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.3421, allocations: 70.72 kB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.343, allocations: 136.6 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3434, allocations: 291.8 kB / 1.331 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3434, allocations: 20.97 kB / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3435, allocations: 36.34 kB / 1.331 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.3442, allocations: 459.8 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3442, allocations: 3.938 kB / 1.331 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3442, allocations: 15.98 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.3443, allocations: 32.53 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.3448, allocations: 317.9 kB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.3472, allocations: 2.185 MB / 1.334 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.3476, allocations: 239.8 kB / 1.334 GB, free: 5.617 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3478, allocations: 96.8 kB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3478, allocations: 0 / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3478, allocations: 46.8 kB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.3478, allocations: 0 / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006249/0.3485, allocations: 295.4 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.3485, allocations: 55.41 kB / 1.334 GB, free: 5.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3488, allocations: 266.6 kB / 1.335 GB, free: 4.816 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3488, allocations: 33.69 kB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.349, allocations: 208.3 kB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.349, allocations: 51.62 kB / 1.335 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.3491, allocations: 57.83 kB / 1.335 GB, free: 4.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3493, allocations: 338.8 kB / 1.335 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.3494, allocations: 52.44 kB / 1.335 GB, free: 4.062 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3495, allocations: 152.9 kB / 1.335 GB, free: 3.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.3498, allocations: 213.8 kB / 1.336 GB, free: 3.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3498, allocations: 3.938 kB / 1.336 GB, free: 3.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004314/0.3503, allocations: 266 kB / 1.336 GB, free: 3.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3503, allocations: 8 kB / 1.336 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3503, allocations: 4 kB / 1.336 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.3505, allocations: 29.22 kB / 1.336 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3507, allocations: 47.92 kB / 1.336 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3519, allocations: 1.426 MB / 1.337 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.352, allocations: 31.77 kB / 1.337 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3521, allocations: 16.06 kB / 1.337 GB, free: 1.656 MB / 1.029 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.000168/0.3522, allocations: 169.6 kB / 1.338 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3523, allocations: 23.86 kB / 1.338 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.3523, allocations: 29.94 kB / 1.338 GB, free: 1.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3523, allocations: 0 / 1.338 GB, free: 1.422 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3523, allocations: 3.984 kB / 1.338 GB, free: 1.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3523, allocations: 4 kB / 1.338 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.3533, allocations: 0.6986 MB / 1.338 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3533, allocations: 4 kB / 1.338 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.3534, allocations: 27.92 kB / 1.338 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-05/0.3535, allocations: 24.78 kB / 1.338 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3535, allocations: 8 kB / 1.338 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3546, allocations: 1.41 MB / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3546, allocations: 0 / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.355, allocations: 331.4 kB / 1.34 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3551, allocations: 113 kB / 1.34 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3551, allocations: 8 kB / 1.34 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3553, allocations: 11.98 kB / 1.34 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3553, allocations: 15.92 kB / 1.34 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3553, allocations: 8 kB / 1.34 GB, free: 14.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000193/0.3555, allocations: 186 kB / 1.34 GB, free: 14.3 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3555, allocations: 4.094 kB / 1.34 GB, free: 14.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003758/0.3559, allocations: 87.72 kB / 1.34 GB, free: 14.21 MB / 1.045 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.0006973/0.3566, allocations: 0.8508 MB / 1.341 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.357, allocations: 263.1 kB / 1.342 GB, free: 13.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.357, allocations: 4.062 kB / 1.342 GB, free: 13.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.3572, allocations: 182.5 kB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3577, allocations: 48.53 kB / 1.342 GB, free: 12.79 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.361, allocations: 2.726 MB / 1.344 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3614, allocations: 0.7909 MB / 1.345 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.3615, allocations: 42.27 kB / 1.345 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3617, allocations: 87.41 kB / 1.345 GB, free: 8.941 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3617, allocations: 0 / 1.345 GB, free: 8.941 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.3955, allocations: 5.418 MB / 1.351 GB, free: 3.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.45, allocations: 8.859 kB / 1.351 GB, free: 3.652 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.943468153942376]