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.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.001808/0.001808, allocations: 113 kB / 16.46 MB, free: 6.453 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.002151/0.002151, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.668/2.668, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002012/0.002012, allocations: 75.89 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7555, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005886/0.7614, allocations: 3.908 MB / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.7646, allocations: 1.803 MB / 1.284 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.7649, allocations: 7.938 kB / 1.284 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.7665, allocations: 0.4916 MB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.7671, allocations: 226.9 kB / 1.285 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.7677, allocations: 224.1 kB / 1.285 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.7683, allocations: 470.4 kB / 1.285 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.7689, allocations: 291 kB / 1.285 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.7691, allocations: 199.3 kB / 1.286 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.7696, allocations: 231.1 kB / 1.286 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.7696, allocations: 28 kB / 1.286 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.7701, allocations: 251.5 kB / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.7703, allocations: 131.6 kB / 1.286 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.7705, allocations: 175.1 kB / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.7712, allocations: 0.506 MB / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7712, allocations: 0 / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7712, allocations: 0 / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.7712, allocations: 0 / 1.287 GB, free: 4.48 MB / 0.9825 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.001076/0.7723, allocations: 0.6388 MB / 1.288 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7723, allocations: 8.031 kB / 1.288 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/0.7724, allocations: 70.66 kB / 1.288 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009167/0.7733, allocations: 140.6 kB / 1.288 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.7737, allocations: 300.3 kB / 1.288 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.7738, allocations: 21.03 kB / 1.288 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.7738, allocations: 28.36 kB / 1.288 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.7745, allocations: 471.7 kB / 1.289 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7745, allocations: 3.938 kB / 1.289 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.7746, allocations: 15.98 kB / 1.289 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.7746, allocations: 28.55 kB / 1.289 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.7751, allocations: 317.9 kB / 1.289 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.7775, allocations: 2.181 MB / 1.291 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.7779, allocations: 243.4 kB / 1.291 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.7781, allocations: 100.8 kB / 1.291 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.7781, allocations: 4 kB / 1.291 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7781, allocations: 30.56 kB / 1.291 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.7781, allocations: 0 / 1.291 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006335/0.7788, allocations: 307.6 kB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.7788, allocations: 51.41 kB / 1.292 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.7791, allocations: 274.5 kB / 1.292 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.7791, allocations: 25.7 kB / 1.292 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.7793, allocations: 212.3 kB / 1.292 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.7793, allocations: 51.53 kB / 1.292 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.7794, allocations: 49.91 kB / 1.292 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7796, allocations: 338.8 kB / 1.293 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.7797, allocations: 60.44 kB / 1.293 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.7798, allocations: 144.7 kB / 1.293 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.7801, allocations: 217.4 kB / 1.293 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7801, allocations: 3.938 kB / 1.293 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004344/0.7805, allocations: 266.1 kB / 1.293 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7806, allocations: 4 kB / 1.293 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7806, allocations: 4 kB / 1.293 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.7807, allocations: 20.91 kB / 1.293 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.7809, allocations: 55.92 kB / 1.293 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.7822, allocations: 1.426 MB / 1.295 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.7824, allocations: 27.78 kB / 1.295 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.7824, allocations: 11.94 kB / 1.295 GB, free: 11.72 MB / 0.9981 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.0001723/0.7825, allocations: 172.1 kB / 1.295 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.7826, allocations: 23.95 kB / 1.295 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.7827, allocations: 33.77 kB / 1.295 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7827, allocations: 4 kB / 1.295 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7827, allocations: 0 / 1.295 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7827, allocations: 4.062 kB / 1.295 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.7836, allocations: 0.7063 MB / 1.296 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7836, allocations: 192 / 1.296 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.7837, allocations: 27.94 kB / 1.296 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.806e-05/0.7838, allocations: 32.77 kB / 1.296 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7838, allocations: 4 kB / 1.296 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.785, allocations: 1.418 MB / 1.297 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.785, allocations: 4.031 kB / 1.297 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.7854, allocations: 313.3 kB / 1.297 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7855, allocations: 116.9 kB / 1.298 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.7855, allocations: 3.984 kB / 1.298 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.7857, allocations: 16 kB / 1.298 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.7857, allocations: 15.92 kB / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.7857, allocations: 8 kB / 1.298 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001979/0.7859, allocations: 190 kB / 1.298 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7859, allocations: 0 / 1.298 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004065/0.7863, allocations: 75.84 kB / 1.298 GB, free: 8.281 MB / 0.9981 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.0007061/0.7871, allocations: 0.8574 MB / 1.299 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.7876, allocations: 266.4 kB / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7876, allocations: 0 / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.7878, allocations: 187.6 kB / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.7883, allocations: 70.38 kB / 1.299 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.7919, allocations: 2.705 MB / 1.302 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.7924, allocations: 0.7987 MB / 1.303 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.7926, allocations: 46.19 kB / 1.303 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.7928, allocations: 83.41 kB / 1.303 GB, free: 3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.7928, allocations: 0 / 1.303 GB, free: 3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.84, allocations: 5.426 MB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.92, allocations: 10.72 kB / 1.308 GB, free: 13.7 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.872818868840113]