Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 101.5 kB / 19.73 MB, free: 2.23 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.00172/0.00172, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 33.61 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.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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.002018/0.002018, allocations: 69.52 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009578/0.3598, allocations: 6.998 MB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.3653, allocations: 3.192 MB / 1.337 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.3659, allocations: 39.62 kB / 1.337 GB, free: 7.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.3684, allocations: 1.005 MB / 1.338 GB, free: 6.723 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3697, allocations: 0.5168 MB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3708, allocations: 433.7 kB / 1.339 GB, free: 5.781 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3724, allocations: 1.229 MB / 1.34 GB, free: 4.547 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.3733, allocations: 0.5334 MB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.374, allocations: 494.3 kB / 1.341 GB, free: 3.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.3748, allocations: 0.5487 MB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3749, allocations: 64 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.3757, allocations: 387.2 kB / 1.342 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.376, allocations: 311.1 kB / 1.342 GB, free: 2.223 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.3765, allocations: 445.8 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3779, allocations: 1.23 MB / 1.344 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3779, allocations: 0 / 1.344 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3779, allocations: 0 / 1.344 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.3779, allocations: 0 / 1.344 GB, free: 0.5508 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002005/0.3799, allocations: 1.115 MB / 1.345 GB, free: 15.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.38, allocations: 8.031 kB / 1.345 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.193e-05/0.38, allocations: 17.5 kB / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.3802, allocations: 126.7 kB / 1.345 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.3817, allocations: 240.1 kB / 1.345 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.3827, allocations: 0.5191 MB / 1.346 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.3827, allocations: 49.67 kB / 1.346 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3828, allocations: 64.36 kB / 1.346 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3844, allocations: 1.081 MB / 1.347 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3844, allocations: 11.92 kB / 1.347 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.3845, allocations: 31.98 kB / 1.347 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.3847, allocations: 81.27 kB / 1.347 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3859, allocations: 0.762 MB / 1.348 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.3917, allocations: 5.799 MB / 1.353 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3927, allocations: 0.5133 MB / 1.354 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.3931, allocations: 282 kB / 1.354 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3932, allocations: 4.438 kB / 1.354 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3932, allocations: 39 kB / 1.354 GB, free: 5.215 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/0.3932, allocations: 4 kB / 1.354 GB, free: 5.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003881/0.3971, allocations: 1.69 MB / 1.356 GB, free: 3.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3971, allocations: 55.84 kB / 1.356 GB, free: 3.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.3978, allocations: 0.5548 MB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3979, allocations: 37.7 kB / 1.356 GB, free: 2.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.3982, allocations: 428 kB / 1.357 GB, free: 2.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3983, allocations: 174.5 kB / 1.357 GB, free: 2.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.3985, allocations: 130.6 kB / 1.357 GB, free: 2.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3987, allocations: 374.7 kB / 1.357 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.3992, allocations: 277.8 kB / 1.358 GB, free: 1.457 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.3997, allocations: 493.4 kB / 1.358 GB, free: 0.875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.4009, allocations: 0.8123 MB / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4009, allocations: 4 kB / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001923/0.4028, allocations: 1.078 MB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4028, allocations: 8 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4028, allocations: 8 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008561/0.4037, allocations: 275.3 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.4042, allocations: 127.8 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007182/0.4113, allocations: 6.733 MB / 1.367 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.4122, allocations: 35.97 kB / 1.367 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4123, allocations: 28 kB / 1.367 GB, free: 7.18 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0005902/0.4129, allocations: 253.5 kB / 1.367 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4131, allocations: 83.59 kB / 1.367 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4148, allocations: 0.8806 MB / 1.368 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4148, allocations: 4 kB / 1.368 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4148, allocations: 4 kB / 1.368 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4149, allocations: 3.984 kB / 1.368 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.4178, allocations: 1.684 MB / 1.37 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4178, allocations: 4 kB / 1.37 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.4181, allocations: 63.88 kB / 1.37 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/0.4188, allocations: 275.2 kB / 1.37 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.4189, allocations: 8 kB / 1.37 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00702/0.4259, allocations: 6.716 MB / 1.377 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.4259, allocations: 7.969 kB / 1.377 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4276, allocations: 0.9647 MB / 1.378 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.428, allocations: 119.5 kB / 1.378 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.4281, allocations: 19.92 kB / 1.378 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.4286, allocations: 27.97 kB / 1.378 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4287, allocations: 47.86 kB / 1.378 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.4287, allocations: 12 kB / 1.378 GB, free: 11.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000509/0.4292, allocations: 383.1 kB / 1.378 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4292, allocations: 0 / 1.378 GB, free: 11.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008878/0.4301, allocations: 224 kB / 1.379 GB, free: 10.8 MB / 1.076 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/0.4321, allocations: 1.544 MB / 1.38 GB, free: 9.195 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.4343, allocations: 1.243 MB / 1.381 GB, free: 7.902 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4343, allocations: 0 / 1.381 GB, free: 7.902 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4356, allocations: 0.8619 MB / 1.382 GB, free: 6.988 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.4368, allocations: 228.2 kB / 1.382 GB, free: 6.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.447, allocations: 6.363 MB / 1.389 GB, free: 72 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.4479, allocations: 1.009 MB / 1.39 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004639/0.4483, allocations: 122 kB / 1.39 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.4487, allocations: 251.3 kB / 1.39 GB, free: 14.67 MB / 1.092 GB Notification: Performance of SimCode: time 1.192e-06/0.4487, allocations: 3.938 kB / 1.39 GB, free: 14.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.5107, allocations: 18.1 MB / 1.408 GB, free: 12.9 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.14, allocations: 8.141 kB / 1.408 GB, free: 12.89 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 20.00549257500097]