Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001941/0.001941, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002602/0.002602, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.992 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.066/3.066, 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002064/0.002064, allocations: 63.53 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01467/0.3491, allocations: 11.32 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.3644, allocations: 9.149 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.3659, allocations: 83.31 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.3707, allocations: 1.742 MB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.3754, allocations: 1.568 MB / 1.349 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.3775, allocations: 0.6899 MB / 1.35 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.3811, allocations: 2.279 MB / 1.352 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.383, allocations: 1.168 MB / 1.353 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.3848, allocations: 1.032 MB / 1.354 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.3869, allocations: 1.062 MB / 1.355 GB, free: 3.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.3872, allocations: 140 kB / 1.355 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3891, allocations: 0.8188 MB / 1.356 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007302/0.3899, allocations: 0.5724 MB / 1.357 GB, free: 2.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.391, allocations: 0.89 MB / 1.358 GB, free: 1.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.3949, allocations: 2.58 MB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3949, allocations: 4 kB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3949, allocations: 0 / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-05/0.395, allocations: 0 / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003822/0.3988, allocations: 1.995 MB / 1.362 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3988, allocations: 8.031 kB / 1.362 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.3991, allocations: 194.1 kB / 1.362 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.4101, allocations: 2.055 MB / 1.364 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.4129, allocations: 1.137 MB / 1.365 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.413, allocations: 86.7 kB / 1.366 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.4133, allocations: 119.9 kB / 1.366 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005622/0.4189, allocations: 2.478 MB / 1.368 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.419, allocations: 11.89 kB / 1.368 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.4191, allocations: 51.98 kB / 1.368 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/0.4195, allocations: 130.1 kB / 1.368 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007209/0.4267, allocations: 2.545 MB / 1.371 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.4415, allocations: 9.907 MB / 1.38 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006039/0.4475, allocations: 1.846 MB / 1.382 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.4503, allocations: 0.9425 MB / 1.383 GB, free: 6.238 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.4504, allocations: 8.438 kB / 1.383 GB, free: 6.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4504, allocations: 39 kB / 1.383 GB, free: 6.184 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.4504, allocations: 0 / 1.383 GB, free: 6.184 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03136/0.4818, allocations: 8.65 MB / 1.392 GB, free: 13.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.4818, allocations: 64 kB / 1.392 GB, free: 13.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4836, allocations: 1.101 MB / 1.393 GB, free: 12.29 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.4838, allocations: 37.7 kB / 1.393 GB, free: 12.25 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.4844, allocations: 0.755 MB / 1.394 GB, free: 11.49 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.4848, allocations: 293.5 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.4852, allocations: 202.5 kB / 1.394 GB, free: 11 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4854, allocations: 345.9 kB / 1.394 GB, free: 10.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/0.4883, allocations: 1.071 MB / 1.395 GB, free: 9.582 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00318/0.4914, allocations: 1.309 MB / 1.397 GB, free: 8.184 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/0.4976, allocations: 2.378 MB / 1.399 GB, free: 5.711 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4976, allocations: 4 kB / 1.399 GB, free: 5.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009149/0.5068, allocations: 3.253 MB / 1.402 GB, free: 2.414 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.5068, allocations: 8.875 kB / 1.402 GB, free: 2.406 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5068, allocations: 8 kB / 1.402 GB, free: 2.398 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.5098, allocations: 0.7911 MB / 1.403 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.5117, allocations: 419.2 kB / 1.403 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.53, allocations: 15.11 MB / 1.418 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.5322, allocations: 295.5 kB / 1.418 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.5324, allocations: 47.97 kB / 1.418 GB, free: 0.8086 MB / 1.107 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008792/0.5333, allocations: 401.5 kB / 1.419 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.5337, allocations: 155.1 kB / 1.419 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/0.5428, allocations: 3.171 MB / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5428, allocations: 8 kB / 1.422 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-05/0.5428, allocations: 8 kB / 1.422 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5428, allocations: 7.984 kB / 1.422 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.5551, allocations: 4.846 MB / 1.427 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.5551, allocations: 7.984 kB / 1.427 GB, free: 8.043 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.5568, allocations: 351.3 kB / 1.427 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.5594, allocations: 0.6979 MB / 1.428 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.5595, allocations: 31.97 kB / 1.428 GB, free: 6.945 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.5769, allocations: 14.73 MB / 1.442 GB, free: 7.305 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5769, allocations: 4 kB / 1.442 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008588/0.5855, allocations: 3.021 MB / 1.445 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.5865, allocations: 322.8 kB / 1.446 GB, free: 3.879 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.5869, allocations: 16 kB / 1.446 GB, free: 3.863 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.5888, allocations: 295.4 kB / 1.446 GB, free: 3.574 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.5891, allocations: 88.44 kB / 1.446 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.5892, allocations: 35.97 kB / 1.446 GB, free: 3.453 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001303/0.5905, allocations: 0.7327 MB / 1.447 GB, free: 2.719 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5905, allocations: 0 / 1.447 GB, free: 2.719 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001743/0.5923, allocations: 436 kB / 1.447 GB, free: 2.293 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008915/0.6012, allocations: 3.598 MB / 1.451 GB, free: 14.61 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008872/0.61, allocations: 3.515 MB / 1.454 GB, free: 10.99 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.6101, allocations: 0 / 1.454 GB, free: 10.99 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/0.6156, allocations: 2.317 MB / 1.456 GB, free: 8.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.6185, allocations: 0.5213 MB / 1.457 GB, free: 8.066 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/0.6573, allocations: 15.85 MB / 1.472 GB, free: 7.781 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.6589, allocations: 1.392 MB / 1.474 GB, free: 6.359 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00162/0.6605, allocations: 371.9 kB / 1.474 GB, free: 5.992 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.6617, allocations: 0.6008 MB / 1.475 GB, free: 5.391 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/0.6617, allocations: 4 kB / 1.475 GB, free: 5.387 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.7924, allocations: 42.7 MB / 1.516 GB, free: 11.28 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.75, allocations: 10.55 kB / 1.516 GB, free: 11.27 MB / 1.217 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 24.43296822020784]