Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.399/2.399, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.89 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6968, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009995/0.7067, allocations: 11.31 MB / 1.282 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.7186, allocations: 9.1 MB / 1.291 GB, free: 9.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.7192, allocations: 59.44 kB / 1.291 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.7231, allocations: 1.736 MB / 1.293 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.7263, allocations: 1.566 MB / 1.295 GB, free: 8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.7278, allocations: 0.6825 MB / 1.295 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.7301, allocations: 2.286 MB / 1.297 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.7313, allocations: 0.9774 MB / 1.298 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.7323, allocations: 0.999 MB / 1.299 GB, free: 5.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.7339, allocations: 1.071 MB / 1.3 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7341, allocations: 137.6 kB / 1.301 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.7354, allocations: 0.817 MB / 1.301 GB, free: 4.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.736, allocations: 0.583 MB / 1.302 GB, free: 4.633 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008171/0.7368, allocations: 0.8848 MB / 1.303 GB, free: 4.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.7394, allocations: 2.58 MB / 1.305 GB, free: 3.176 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7394, allocations: 0 / 1.305 GB, free: 3.176 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7394, allocations: 0 / 1.305 GB, free: 3.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.7394, allocations: 0.6094 kB / 1.305 GB, free: 3.176 MB / 1.014 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.002968/0.7424, allocations: 2.08 MB / 1.307 GB, free: 1.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.7424, allocations: 9.547 kB / 1.307 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.7426, allocations: 182.8 kB / 1.308 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.7528, allocations: 2.059 MB / 1.31 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.7547, allocations: 1.223 MB / 1.311 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.7548, allocations: 84.47 kB / 1.311 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.755, allocations: 128.4 kB / 1.311 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005005/0.76, allocations: 2.475 MB / 1.313 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.7601, allocations: 12.05 kB / 1.313 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.7602, allocations: 53.67 kB / 1.313 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/0.7605, allocations: 128.1 kB / 1.314 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006755/0.7673, allocations: 2.537 MB / 1.316 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.7794, allocations: 10.05 MB / 1.326 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/0.7853, allocations: 1.917 MB / 1.328 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.7879, allocations: 0.9427 MB / 1.329 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.7879, allocations: 10.72 kB / 1.329 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.7879, allocations: 37.75 kB / 1.329 GB, free: 7.066 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 1.804e-06/0.7879, allocations: 0 / 1.329 GB, free: 7.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.02846/0.8164, allocations: 8.715 MB / 1.337 GB, free: 3.184 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8164, allocations: 68.06 kB / 1.337 GB, free: 3.113 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.8177, allocations: 1.095 MB / 1.338 GB, free: 2.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.8178, allocations: 41.14 kB / 1.338 GB, free: 2.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/0.8183, allocations: 0.755 MB / 1.339 GB, free: 1.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.8186, allocations: 292.8 kB / 1.339 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.819, allocations: 199.1 kB / 1.34 GB, free: 1.426 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8191, allocations: 343.8 kB / 1.34 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.8218, allocations: 1.074 MB / 1.341 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.8248, allocations: 1.305 MB / 1.342 GB, free: 15.7 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00567/0.8305, allocations: 2.387 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8305, allocations: 2.781 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008004/0.8385, allocations: 3.252 MB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8385, allocations: 9.781 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8385, allocations: 6.594 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.841, allocations: 0.7849 MB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.8427, allocations: 418.4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/0.8578, allocations: 15.93 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.8598, allocations: 296.5 kB / 1.365 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.86, allocations: 49.91 kB / 1.365 GB, free: 13.37 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 (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.0006799/0.8606, allocations: 400.9 kB / 1.365 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.8609, allocations: 150.8 kB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008106/0.869, allocations: 3.178 MB / 1.368 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.869, allocations: 7.906 kB / 1.368 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.869, allocations: 7.938 kB / 1.368 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.869, allocations: 3.984 kB / 1.368 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.8792, allocations: 4.884 MB / 1.373 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8792, allocations: 2.719 kB / 1.373 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.8807, allocations: 356.5 kB / 1.374 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.8828, allocations: 0.6917 MB / 1.374 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/0.8829, allocations: 31.75 kB / 1.374 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.8972, allocations: 15.55 MB / 1.389 GB, free: 8.469 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8973, allocations: 7.938 kB / 1.389 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007618/0.9049, allocations: 3.013 MB / 1.392 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.9055, allocations: 388 kB / 1.393 GB, free: 4.969 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.9057, allocations: 16 kB / 1.393 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.9074, allocations: 299.4 kB / 1.393 GB, free: 4.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.9076, allocations: 80.48 kB / 1.393 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.9077, allocations: 35.97 kB / 1.393 GB, free: 4.547 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009406/0.9086, allocations: 0.7405 MB / 1.394 GB, free: 3.805 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9086, allocations: 0 / 1.394 GB, free: 3.805 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001495/0.9101, allocations: 432 kB / 1.394 GB, free: 3.383 MB / 1.076 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.008053/0.9182, allocations: 3.589 MB / 1.398 GB, free: 15.7 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007904/0.9261, allocations: 3.519 MB / 1.401 GB, free: 12.07 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.9261, allocations: 4 kB / 1.401 GB, free: 12.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.9307, allocations: 2.328 MB / 1.404 GB, free: 9.641 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.9325, allocations: 0.5213 MB / 1.404 GB, free: 9.141 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/0.963, allocations: 15.84 MB / 1.42 GB, free: 8.875 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/0.964, allocations: 1.384 MB / 1.421 GB, free: 7.457 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001066/0.9651, allocations: 371.9 kB / 1.421 GB, free: 7.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/0.9658, allocations: 0.6047 MB / 1.422 GB, free: 6.484 MB / 1.107 GB Notification: Performance of SimCode: time 5.11e-07/0.9658, allocations: 0 / 1.422 GB, free: 6.484 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09288/1.059, allocations: 42.08 MB / 1.463 GB, free: 12.96 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.43, allocations: 4.062 kB / 1.463 GB, free: 12.95 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.544654943999376]