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.001267/0.001267, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001488/0.001488, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.969 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.099/3.099, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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.002109/0.002109, allocations: 63.48 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009472/0.3438, allocations: 5.673 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005574/0.3494, allocations: 2.767 MB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006792/0.3501, allocations: 35.69 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.3523, allocations: 0.7053 MB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.3535, allocations: 417.8 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3547, allocations: 399 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.3563, allocations: 0.9594 MB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.3572, allocations: 378.6 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008329/0.358, allocations: 390.5 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.3589, allocations: 430.3 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.359, allocations: 48 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/0.3599, allocations: 371.2 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.3602, allocations: 255.2 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.3608, allocations: 350.2 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.3623, allocations: 0.9728 MB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3623, allocations: 0 / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3623, allocations: 4 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.809e-05/0.3623, allocations: 0 / 1.34 GB, free: 3.766 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.00206/0.3644, allocations: 0.9208 MB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3644, allocations: 12.03 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.3646, allocations: 90.7 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.3661, allocations: 200.3 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.367, allocations: 459.6 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3671, allocations: 37.31 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3672, allocations: 56.55 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3685, allocations: 0.8316 MB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3686, allocations: 7.891 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.3686, allocations: 24 kB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.3688, allocations: 68.94 kB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.3698, allocations: 0.5658 MB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/0.3752, allocations: 4.513 MB / 1.347 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.3758, allocations: 279.1 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.3761, allocations: 213.3 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3761, allocations: 4.281 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3762, allocations: 34.84 kB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/0.3762, allocations: 0 / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005743/0.3819, allocations: 2.334 MB / 1.35 GB, free: 8.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.382, allocations: 59.41 kB / 1.35 GB, free: 8.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.3825, allocations: 454 kB / 1.351 GB, free: 8.062 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3826, allocations: 33.7 kB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.3829, allocations: 352.5 kB / 1.351 GB, free: 7.676 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.383, allocations: 150.7 kB / 1.351 GB, free: 7.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.3832, allocations: 106.2 kB / 1.351 GB, free: 7.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3834, allocations: 358.8 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.3838, allocations: 241.2 kB / 1.352 GB, free: 6.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.3843, allocations: 411.3 kB / 1.352 GB, free: 6.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/0.3853, allocations: 0.674 MB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3853, allocations: 0 / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001745/0.3871, allocations: 0.9133 MB / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3871, allocations: 8 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3871, allocations: 4 kB / 1.354 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.3879, allocations: 234.9 kB / 1.354 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.3885, allocations: 111.9 kB / 1.354 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.3945, allocations: 5.042 MB / 1.359 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.395, allocations: 27.97 kB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.395, allocations: 24.06 kB / 1.359 GB, free: 14.87 MB / 1.061 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.0003705/0.3954, allocations: 222.1 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3955, allocations: 63.56 kB / 1.359 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3972, allocations: 0.7621 MB / 1.36 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3972, allocations: 7.938 kB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3972, allocations: 0 / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3972, allocations: 3.984 kB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.4001, allocations: 1.466 MB / 1.361 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4001, allocations: 0 / 1.361 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.4005, allocations: 71.88 kB / 1.362 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007095/0.4012, allocations: 202.6 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.4012, allocations: 8 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.4069, allocations: 4.971 MB / 1.367 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4069, allocations: 4.031 kB / 1.367 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.4088, allocations: 1.132 MB / 1.368 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.4092, allocations: 95.55 kB / 1.368 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4093, allocations: 15.94 kB / 1.368 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.4096, allocations: 31.95 kB / 1.368 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.4097, allocations: 35.88 kB / 1.368 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.4097, allocations: 12 kB / 1.368 GB, free: 5.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004178/0.4101, allocations: 310.9 kB / 1.368 GB, free: 4.969 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4101, allocations: 0 / 1.368 GB, free: 4.969 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007184/0.4109, allocations: 172 kB / 1.368 GB, free: 4.801 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.00231/0.4132, allocations: 1.702 MB / 1.37 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.4149, allocations: 0.9689 MB / 1.371 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4149, allocations: 0 / 1.371 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.416, allocations: 0.6642 MB / 1.372 GB, free: 1.332 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.417, allocations: 179.1 kB / 1.372 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/0.426, allocations: 5.607 MB / 1.377 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.4268, allocations: 0.9493 MB / 1.378 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.4271, allocations: 117 kB / 1.378 GB, free: 10.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.4275, allocations: 219.3 kB / 1.378 GB, free: 9.957 MB / 1.076 GB Notification: Performance of SimCode: time 1.423e-06/0.4275, allocations: 0 / 1.378 GB, free: 9.957 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.4862, allocations: 14.66 MB / 1.393 GB, free: 11.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/15.96, allocations: 5.781 kB / 1.393 GB, free: 11.57 MB / 1.092 GB " [Timeout remaining time 284] (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: 26.565582538954914]