Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 209.6 kB / 22.25 MB, free: 4.848 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 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.087/3.087, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.002072/0.002072, allocations: 67.36 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007961/0.3837, allocations: 5.286 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005261/0.3889, allocations: 2.611 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.3895, allocations: 35.69 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.3918, allocations: 0.6692 MB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.393, allocations: 421.8 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3941, allocations: 394.1 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3955, allocations: 0.9555 MB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007299/0.3963, allocations: 382.5 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.3971, allocations: 398.5 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.3979, allocations: 398.3 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.3981, allocations: 48 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.3988, allocations: 335.2 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.3992, allocations: 247.3 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.3997, allocations: 290.6 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.4012, allocations: 0.9806 MB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4012, allocations: 0 / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4012, allocations: 4 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.4012, allocations: 0 / 1.338 GB, free: 4.902 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002074/0.4033, allocations: 0.9208 MB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4034, allocations: 8.031 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.4035, allocations: 98.69 kB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.405, allocations: 200.3 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4061, allocations: 451.6 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.4061, allocations: 41.36 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.4063, allocations: 60.55 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.4078, allocations: 0.9822 MB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.4078, allocations: 7.891 kB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.4079, allocations: 23.98 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.4081, allocations: 68.95 kB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.4091, allocations: 0.5697 MB / 1.341 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.414, allocations: 3.569 MB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.4145, allocations: 279.3 kB / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.4148, allocations: 205.3 kB / 1.345 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4149, allocations: 4.281 kB / 1.345 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4149, allocations: 38.84 kB / 1.345 GB, free: 13.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/0.4149, allocations: 0 / 1.345 GB, free: 13.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005796/0.4207, allocations: 2.342 MB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4208, allocations: 59.39 kB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.4214, allocations: 469.9 kB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4214, allocations: 37.64 kB / 1.348 GB, free: 10.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.4217, allocations: 352.5 kB / 1.349 GB, free: 9.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4219, allocations: 154.7 kB / 1.349 GB, free: 9.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.4221, allocations: 106.3 kB / 1.349 GB, free: 9.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4223, allocations: 358.8 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.4227, allocations: 241.2 kB / 1.349 GB, free: 8.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.4232, allocations: 413.4 kB / 1.35 GB, free: 8.398 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.4242, allocations: 0.674 MB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4242, allocations: 0 / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001839/0.426, allocations: 0.9175 MB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4261, allocations: 8 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4261, allocations: 8 kB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008741/0.427, allocations: 230.6 kB / 1.352 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.4275, allocations: 115.8 kB / 1.352 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.4334, allocations: 4.999 MB / 1.357 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.434, allocations: 31.97 kB / 1.357 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.434, allocations: 27.98 kB / 1.357 GB, free: 0.9531 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003656/0.4344, allocations: 228.2 kB / 1.357 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.4345, allocations: 63.56 kB / 1.357 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4362, allocations: 0.7581 MB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4362, allocations: 4 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4362, allocations: 4 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.4362, allocations: 7.984 kB / 1.358 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.4391, allocations: 1.389 MB / 1.359 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4391, allocations: 0 / 1.359 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.4394, allocations: 71.89 kB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007164/0.4402, allocations: 202.6 kB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.4402, allocations: 11.98 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.4457, allocations: 4.944 MB / 1.364 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.4457, allocations: 8.016 kB / 1.364 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.4476, allocations: 1.131 MB / 1.365 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.448, allocations: 99.55 kB / 1.365 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4481, allocations: 12 kB / 1.365 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.4484, allocations: 23.97 kB / 1.365 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.4485, allocations: 39.86 kB / 1.365 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.4486, allocations: 16 kB / 1.365 GB, free: 7.445 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003889/0.4489, allocations: 306.9 kB / 1.366 GB, free: 7.148 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4489, allocations: 0 / 1.366 GB, free: 7.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007273/0.4497, allocations: 168 kB / 1.366 GB, free: 6.984 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/0.4519, allocations: 1.692 MB / 1.368 GB, free: 5.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.4536, allocations: 0.9728 MB / 1.369 GB, free: 4.223 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4536, allocations: 0 / 1.369 GB, free: 4.223 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.4547, allocations: 0.6603 MB / 1.369 GB, free: 3.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/0.4557, allocations: 180.5 kB / 1.369 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.4645, allocations: 5.62 MB / 1.375 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.465, allocations: 350.2 kB / 1.375 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.4654, allocations: 109 kB / 1.375 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.4657, allocations: 211.4 kB / 1.375 GB, free: 12.75 MB / 1.076 GB Notification: Performance of SimCode: time 6.91e-07/0.4657, allocations: 4 kB / 1.375 GB, free: 12.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/0.5258, allocations: 15.63 MB / 1.391 GB, free: 13.49 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.44, allocations: 7.578 kB / 1.391 GB, free: 13.49 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.13699605036527]