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.001448/0.001448, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001638/0.001638, allocations: 211 kB / 20.13 MB, free: 2.969 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.909/2.909, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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.002215/0.002215, allocations: 67.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 176.1 MB / 1.321 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006585/1.014, allocations: 6.832 MB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004754/1.019, allocations: 3.118 MB / 1.331 GB, free: 18.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/1.02, allocations: 36.31 kB / 1.331 GB, free: 18.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/1.022, allocations: 0.9713 MB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/1.024, allocations: 0.5144 MB / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/1.025, allocations: 426.2 kB / 1.333 GB, free: 16.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001893/1.027, allocations: 1.224 MB / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000981/1.028, allocations: 0.5339 MB / 1.335 GB, free: 16.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/1.029, allocations: 489.3 kB / 1.335 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/1.03, allocations: 0.5481 MB / 1.336 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.03, allocations: 67.22 kB / 1.336 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/1.031, allocations: 388.5 kB / 1.336 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005316/1.032, allocations: 314.4 kB / 1.337 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/1.032, allocations: 448.4 kB / 1.337 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/1.035, allocations: 1.218 MB / 1.338 GB, free: 14.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.035, allocations: 0 / 1.338 GB, free: 14.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.245e-06/1.035, allocations: 0 / 1.338 GB, free: 14.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.204e-05/1.035, allocations: 0 / 1.338 GB, free: 14.76 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002089/1.037, allocations: 1.194 MB / 1.339 GB, free: 13.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/1.037, allocations: 13.42 kB / 1.339 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.151e-05/1.037, allocations: 21.88 kB / 1.339 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/1.037, allocations: 119.3 kB / 1.339 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/1.039, allocations: 247.3 kB / 1.34 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/1.039, allocations: 0.5994 MB / 1.34 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/1.039, allocations: 43.09 kB / 1.34 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/1.04, allocations: 66.66 kB / 1.34 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/1.041, allocations: 1.085 MB / 1.341 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.041, allocations: 10.31 kB / 1.341 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.041, allocations: 30.25 kB / 1.341 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/1.041, allocations: 83.73 kB / 1.342 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.043, allocations: 0.75 MB / 1.342 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004901/1.047, allocations: 5.884 MB / 1.348 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.048, allocations: 0.5116 MB / 1.349 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/1.049, allocations: 282.7 kB / 1.349 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/1.049, allocations: 13.22 kB / 1.349 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.049, allocations: 43.14 kB / 1.349 GB, free: 7.047 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/1.049, allocations: 0 / 1.349 GB, free: 7.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004111/1.053, allocations: 1.98 MB / 1.351 GB, free: 6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.053, allocations: 65.25 kB / 1.351 GB, free: 5.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/1.054, allocations: 0.554 MB / 1.351 GB, free: 5.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.054, allocations: 32.69 kB / 1.351 GB, free: 5.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/1.054, allocations: 426.9 kB / 1.352 GB, free: 5.293 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.054, allocations: 179.5 kB / 1.352 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/1.055, allocations: 125.5 kB / 1.352 GB, free: 5.086 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.055, allocations: 377.7 kB / 1.353 GB, free: 4.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/1.055, allocations: 279.5 kB / 1.353 GB, free: 4.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/1.056, allocations: 493.7 kB / 1.353 GB, free: 4.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.057, allocations: 0.8025 MB / 1.354 GB, free: 3.738 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.057, allocations: 2.094 kB / 1.354 GB, free: 3.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001928/1.059, allocations: 1.082 MB / 1.355 GB, free: 3.277 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.059, allocations: 9.094 kB / 1.355 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.059, allocations: 7.031 kB / 1.355 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/1.06, allocations: 280.6 kB / 1.355 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/1.06, allocations: 124.9 kB / 1.355 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/1.067, allocations: 7.143 MB / 1.362 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/1.068, allocations: 39.12 kB / 1.362 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/1.068, allocations: 27.72 kB / 1.363 GB, free: 12.92 MB / 1.076 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.0004755/1.068, allocations: 263.2 kB / 1.363 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.068, allocations: 76.2 kB / 1.363 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/1.07, allocations: 0.8741 MB / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.07, allocations: 9.953 kB / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.07, allocations: 4.188 kB / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.07, allocations: 2.531 kB / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/1.073, allocations: 1.722 MB / 1.365 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.073, allocations: 2.719 kB / 1.365 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.074, allocations: 59.36 kB / 1.365 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/1.074, allocations: 262.7 kB / 1.366 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/1.074, allocations: 12.03 kB / 1.366 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/1.082, allocations: 7.129 MB / 1.373 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.082, allocations: 6.156 kB / 1.373 GB, free: 5.086 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/1.084, allocations: 0.9775 MB / 1.374 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/1.084, allocations: 194.1 kB / 1.374 GB, free: 4.414 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/1.084, allocations: 20.09 kB / 1.374 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.084, allocations: 30.28 kB / 1.374 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.085, allocations: 42.25 kB / 1.374 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/1.085, allocations: 15.48 kB / 1.374 GB, free: 4.379 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005787/1.085, allocations: 389 kB / 1.374 GB, free: 4.199 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 1.374 GB, free: 4.199 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001049/1.086, allocations: 221.2 kB / 1.375 GB, free: 4.18 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.002127/1.088, allocations: 1.538 MB / 1.376 GB, free: 3.121 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002952/1.091, allocations: 1.236 MB / 1.377 GB, free: 2.391 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.091, allocations: 0 / 1.377 GB, free: 2.391 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.093, allocations: 0.8655 MB / 1.378 GB, free: 1.793 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.095, allocations: 220.2 kB / 1.378 GB, free: 1.715 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.105, allocations: 6.362 MB / 1.384 GB, free: 14.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/1.106, allocations: 1.007 MB / 1.385 GB, free: 13.29 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004704/1.107, allocations: 121.7 kB / 1.386 GB, free: 13.26 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/1.107, allocations: 254.4 kB / 1.386 GB, free: 13.07 MB / 1.092 GB Notification: Performance of SimCode: time 1.393e-06/1.107, allocations: 0 / 1.386 GB, free: 13.07 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/1.168, allocations: 17.55 MB / 1.403 GB, free: 9.574 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.75, allocations: 5.938 kB / 1.403 GB, free: 9.574 MB / 1.092 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: 19.457403095031623]