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.001622/0.001622, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002073/0.002073, allocations: 220.6 kB / 22.25 MB, free: 5.25 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 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.308/3.308, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002029/0.002029, allocations: 67.02 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006515/0.3551, allocations: 3.792 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3582, allocations: 1.71 MB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.3585, allocations: 7.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.36, allocations: 498.6 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.3606, allocations: 226.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.3612, allocations: 209.9 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.3617, allocations: 478.4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.3622, allocations: 293.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.3625, allocations: 195.4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.3629, allocations: 227.2 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.3629, allocations: 28 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3633, allocations: 227.5 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3635, allocations: 131.6 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3636, allocations: 139.4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.3643, allocations: 0.5059 MB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3643, allocations: 4 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3643, allocations: 0 / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3643, allocations: 0 / 1.334 GB, free: 8.824 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.001035/0.3653, allocations: 0.5673 MB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3654, allocations: 12.03 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.242e-05/0.3655, allocations: 74.7 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/0.3663, allocations: 136.6 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3668, allocations: 238.5 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3668, allocations: 21.03 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.3668, allocations: 28.38 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.3676, allocations: 0.5782 MB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3676, allocations: 4 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.3676, allocations: 12 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-05/0.3677, allocations: 40.56 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.3682, allocations: 318.3 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.3703, allocations: 1.583 MB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3706, allocations: 162.6 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3708, allocations: 96.8 kB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3709, allocations: 0 / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3709, allocations: 34.62 kB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3709, allocations: 0 / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0005962/0.3715, allocations: 234.5 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3715, allocations: 51.41 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.3718, allocations: 269.8 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3718, allocations: 29.7 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.372, allocations: 208.3 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.372, allocations: 55.53 kB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.3721, allocations: 45.94 kB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3723, allocations: 342.7 kB / 1.339 GB, free: 3.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3725, allocations: 60.44 kB / 1.339 GB, free: 3.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.3727, allocations: 144.8 kB / 1.339 GB, free: 3.199 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.3731, allocations: 221.2 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3731, allocations: 0 / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004471/0.3735, allocations: 262 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3736, allocations: 10.03 kB / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3736, allocations: 4.375 kB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.3737, allocations: 28.83 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3739, allocations: 51.92 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3751, allocations: 1.311 MB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3753, allocations: 31.73 kB / 1.341 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3753, allocations: 8.156 kB / 1.341 GB, free: 1.125 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.0001812/0.3755, allocations: 175.4 kB / 1.341 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3755, allocations: 27.84 kB / 1.341 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.3756, allocations: 29.77 kB / 1.342 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3756, allocations: 0 / 1.342 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3756, allocations: 4 kB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3756, allocations: 3.984 kB / 1.342 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.3765, allocations: 0.6045 MB / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3765, allocations: 192 / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.3766, allocations: 23.98 kB / 1.342 GB, free: 184 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.3767, allocations: 32.72 kB / 1.342 GB, free: 148 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3767, allocations: 3.938 kB / 1.342 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3779, allocations: 1.303 MB / 1.343 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3779, allocations: 7.969 kB / 1.343 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.3784, allocations: 321.1 kB / 1.344 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3785, allocations: 35.84 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3785, allocations: 4 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3787, allocations: 8 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3787, allocations: 23.91 kB / 1.344 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3787, allocations: 8.094 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002196/0.379, allocations: 189.2 kB / 1.344 GB, free: 14.11 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.379, allocations: 0 / 1.344 GB, free: 14.11 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004725/0.3794, allocations: 83.77 kB / 1.344 GB, free: 14.02 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.0007574/0.3802, allocations: 0.8564 MB / 1.345 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.3807, allocations: 266.8 kB / 1.345 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3807, allocations: 4 kB / 1.345 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3809, allocations: 178.5 kB / 1.345 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.3814, allocations: 53.72 kB / 1.345 GB, free: 12.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3847, allocations: 2.728 MB / 1.348 GB, free: 9.688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.385, allocations: 190.1 kB / 1.348 GB, free: 9.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.3851, allocations: 50.23 kB / 1.348 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3852, allocations: 83.41 kB / 1.348 GB, free: 9.355 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.3852, allocations: 0 / 1.348 GB, free: 9.355 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.4223, allocations: 6.221 MB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 2.625 kB / 1.354 GB, free: 3.328 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.602984811994247]