Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001164/0.001164, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001147/0.001147, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7801, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004424/0.7845, allocations: 3.988 MB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.7867, allocations: 1.791 MB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.7868, allocations: 11.31 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.788, allocations: 0.498 MB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.7884, allocations: 230.7 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.7888, allocations: 206.1 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.7893, allocations: 476.1 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.7897, allocations: 275.8 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.7899, allocations: 193.8 kB / 1.279 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.7903, allocations: 231.5 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.7904, allocations: 28.66 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.7908, allocations: 252.8 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.7909, allocations: 131.3 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.7911, allocations: 167 kB / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.7917, allocations: 0.5065 MB / 1.28 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7917, allocations: 1.375 kB / 1.28 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7917, allocations: 0.5625 kB / 1.28 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.7917, allocations: 4 kB / 1.28 GB, free: 2.391 MB / 0.9981 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.00082/0.7925, allocations: 0.6399 MB / 1.281 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7926, allocations: 9.281 kB / 1.281 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.753e-05/0.7926, allocations: 65.84 kB / 1.281 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.7935, allocations: 133.8 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.7937, allocations: 308.6 kB / 1.281 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7938, allocations: 21.5 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.7938, allocations: 26.31 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.7944, allocations: 469.4 kB / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7944, allocations: 0 / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.7944, allocations: 12.34 kB / 1.282 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.7945, allocations: 31.94 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.7949, allocations: 325 kB / 1.282 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.7967, allocations: 2.184 MB / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.797, allocations: 231.1 kB / 1.284 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.7972, allocations: 104.9 kB / 1.285 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.7972, allocations: 6.188 kB / 1.285 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.7972, allocations: 43.09 kB / 1.285 GB, free: 14.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.7972, allocations: 3.938 kB / 1.285 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.000536/0.7978, allocations: 289.2 kB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.7978, allocations: 57.72 kB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.7981, allocations: 269.5 kB / 1.285 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.7981, allocations: 29.7 kB / 1.285 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7982, allocations: 208.1 kB / 1.285 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.7983, allocations: 59.42 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.7984, allocations: 46.06 kB / 1.285 GB, free: 14.24 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7985, allocations: 335.6 kB / 1.286 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.7986, allocations: 59.38 kB / 1.286 GB, free: 13.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.7987, allocations: 151.8 kB / 1.286 GB, free: 13.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.799, allocations: 230.7 kB / 1.286 GB, free: 13.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.799, allocations: 2.062 kB / 1.286 GB, free: 13.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003819/0.7994, allocations: 253.6 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7994, allocations: 7.531 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7994, allocations: 3.75 kB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.7995, allocations: 34.3 kB / 1.287 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.7997, allocations: 46.56 kB / 1.287 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.8008, allocations: 1.428 MB / 1.288 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.801, allocations: 32.67 kB / 1.288 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.801, allocations: 8.031 kB / 1.288 GB, free: 11.98 MB / 1.014 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.0001561/0.8011, allocations: 174.3 kB / 1.288 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.8012, allocations: 24.95 kB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.8012, allocations: 26.5 kB / 1.288 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.8012, allocations: 1.781 kB / 1.288 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.8012, allocations: 3.875 kB / 1.288 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8012, allocations: 0.75 kB / 1.288 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.8021, allocations: 0.6968 MB / 1.289 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8021, allocations: 2.781 kB / 1.289 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.8022, allocations: 24.66 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/0.8023, allocations: 29.14 kB / 1.289 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.8023, allocations: 5.438 kB / 1.289 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.8033, allocations: 1.424 MB / 1.29 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8033, allocations: 2.188 kB / 1.29 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.8037, allocations: 327.1 kB / 1.291 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.8038, allocations: 117.8 kB / 1.291 GB, free: 9.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.8038, allocations: 8.781 kB / 1.291 GB, free: 9.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.804, allocations: 12.05 kB / 1.291 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.804, allocations: 17.48 kB / 1.291 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.804, allocations: 5.656 kB / 1.291 GB, free: 9.418 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001839/0.8042, allocations: 194.6 kB / 1.291 GB, free: 9.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8042, allocations: 0 / 1.291 GB, free: 9.305 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000345/0.8045, allocations: 75.61 kB / 1.291 GB, free: 9.289 MB / 1.014 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.0006157/0.8051, allocations: 0.8545 MB / 1.292 GB, free: 8.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.8056, allocations: 267.9 kB / 1.292 GB, free: 8.336 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8056, allocations: 0 / 1.292 GB, free: 8.336 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.8058, allocations: 178.9 kB / 1.292 GB, free: 8.203 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.8062, allocations: 66.7 kB / 1.292 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.8091, allocations: 2.713 MB / 1.295 GB, free: 6.188 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.8095, allocations: 0.7902 MB / 1.296 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.8096, allocations: 42.14 kB / 1.296 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.8097, allocations: 86.69 kB / 1.296 GB, free: 5.41 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8097, allocations: 3.938 kB / 1.296 GB, free: 5.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.8418, allocations: 5.398 MB / 1.301 GB, free: 4.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/9.612, allocations: 14.67 kB / 1.301 GB, free: 4.742 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.940358350999304]