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.000785/0.000785, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007517/0.0007517, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.848/0.848, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.685/1.685, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.281e-05, allocations: 6.219 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004953/0.004966, allocations: 6.391 MB / 0.9872 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.008059, allocations: 3 MB / 0.9901 GB, free: 9.152 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.008343, allocations: 43.62 kB / 0.9902 GB, free: 9.109 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.009485, allocations: 0.9472 MB / 0.9911 GB, free: 8.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.0102, allocations: 0.5396 MB / 0.9916 GB, free: 7.617 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.01082, allocations: 422.5 kB / 0.992 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008491/0.01167, allocations: 1.267 MB / 0.9933 GB, free: 5.938 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.01224, allocations: 0.5295 MB / 0.9938 GB, free: 5.402 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.01281, allocations: 0.6624 MB / 0.9944 GB, free: 4.738 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.01325, allocations: 478.7 kB / 0.9949 GB, free: 4.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.01331, allocations: 68 kB / 0.995 GB, free: 4.203 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.01368, allocations: 347.1 kB / 0.9953 GB, free: 3.863 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01387, allocations: 335 kB / 0.9956 GB, free: 3.535 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.01407, allocations: 307.2 kB / 0.9959 GB, free: 3.234 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.01488, allocations: 1.246 MB / 0.9971 GB, free: 1.984 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01488, allocations: 0 / 0.9971 GB, free: 1.984 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01489, allocations: 4 kB / 0.9971 GB, free: 1.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.01489, allocations: 0 / 0.9971 GB, free: 1.98 MB / 0.948 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.001366/0.01626, allocations: 1.104 MB / 0.9982 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.0163, allocations: 8.031 kB / 0.9982 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.241e-05/0.01639, allocations: 118.7 kB / 0.9983 GB, free: 0.7109 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007573/0.01715, allocations: 248.1 kB / 0.9986 GB, free: 480 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.01773, allocations: 0.5223 MB / 0.9991 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.01776, allocations: 53.66 kB / 0.9991 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.01782, allocations: 64.33 kB / 0.9992 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/0.01878, allocations: 1.336 MB / 1 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.0188, allocations: 12.12 kB / 1 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.01885, allocations: 36.11 kB / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.703e-05/0.01893, allocations: 89.23 kB / 1.001 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.01965, allocations: 0.7503 MB / 1.001 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.02237, allocations: 4.616 MB / 1.006 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.02296, allocations: 0.5112 MB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.02322, allocations: 282.2 kB / 1.007 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.02324, allocations: 4.5 kB / 1.007 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.02326, allocations: 43.06 kB / 1.007 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.02326, allocations: 0 / 1.007 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.002022/0.02529, allocations: 1.689 MB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.02531, allocations: 55.91 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.0257, allocations: 0.5741 MB / 1.009 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.02572, allocations: 33.7 kB / 1.009 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.0259, allocations: 420.1 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.02597, allocations: 174.5 kB / 1.01 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.02609, allocations: 126.6 kB / 1.01 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.02619, allocations: 374.8 kB / 1.01 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.02645, allocations: 277.8 kB / 1.01 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.0268, allocations: 496.9 kB / 1.011 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.02748, allocations: 0.8086 MB / 1.012 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02748, allocations: 0 / 1.012 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001094/0.02857, allocations: 1.078 MB / 1.013 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02859, allocations: 11.94 kB / 1.013 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.0286, allocations: 8 kB / 1.013 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.02905, allocations: 287.3 kB / 1.013 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.02929, allocations: 127.8 kB / 1.013 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.03321, allocations: 6.671 MB / 1.02 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.03346, allocations: 39.97 kB / 1.02 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.03349, allocations: 28 kB / 1.02 GB, free: 9.801 MB / 0.9792 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.0002055/0.03369, allocations: 253.6 kB / 1.02 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.03375, allocations: 83.45 kB / 1.02 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000876/0.03463, allocations: 0.8706 MB / 1.021 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.03463, allocations: 4 kB / 1.021 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.03464, allocations: 11.88 kB / 1.021 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.03464, allocations: 3.984 kB / 1.021 GB, free: 8.547 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.03613, allocations: 1.61 MB / 1.022 GB, free: 6.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03613, allocations: 4 kB / 1.022 GB, free: 6.852 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.03626, allocations: 59.95 kB / 1.022 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.03665, allocations: 267.3 kB / 1.023 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.03667, allocations: 15.92 kB / 1.023 GB, free: 6.504 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.04047, allocations: 6.674 MB / 1.029 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.04048, allocations: 4.219 kB / 1.029 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.04136, allocations: 0.974 MB / 1.03 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.04151, allocations: 115.5 kB / 1.03 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.04155, allocations: 16 kB / 1.03 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.04173, allocations: 27.97 kB / 1.03 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.0418, allocations: 51.86 kB / 1.03 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.04182, allocations: 16 kB / 1.03 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000268/0.04209, allocations: 387.1 kB / 1.031 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.04209, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005028/0.04259, allocations: 220 kB / 1.031 GB, free: 13.54 MB / 0.9948 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.001314/0.04391, allocations: 1.535 MB / 1.032 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.04504, allocations: 1.236 MB / 1.034 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04505, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.04567, allocations: 0.8581 MB / 1.034 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.04625, allocations: 225.8 kB / 1.035 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.05168, allocations: 6.352 MB / 1.041 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.05195, allocations: 415.5 kB / 1.041 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.05219, allocations: 126 kB / 1.041 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.0524, allocations: 252.4 kB / 1.042 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.0524, allocations: 0 / 1.042 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3718/0.4242, allocations: 19.33 MB / 1.061 GB, free: 113.4 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.468, allocations: 6.078 kB / 1.061 GB, free: 113.4 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/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: 11.31256128102541]