Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001379/0.001379, allocations: 112 kB / 17.6 MB, free: 4.699 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.001352/0.001352, allocations: 186 kB / 20.78 MB, free: 1.539 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.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] 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.768/2.768, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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_R,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8832, allocations: 168.7 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008862/0.8921, allocations: 7.009 MB / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.8971, allocations: 3.159 MB / 1.281 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007539/0.8979, allocations: 27.66 kB / 1.281 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.9005, allocations: 0.9672 MB / 1.282 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.902, allocations: 0.5321 MB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.9034, allocations: 428.2 kB / 1.283 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.9053, allocations: 1.215 MB / 1.285 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9064, allocations: 490.6 kB / 1.285 GB, free: 15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009022/0.9073, allocations: 479 kB / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009244/0.9082, allocations: 0.5514 MB / 1.286 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.9083, allocations: 69.03 kB / 1.286 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.9092, allocations: 390.4 kB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.9096, allocations: 315.3 kB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.9103, allocations: 450.2 kB / 1.287 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.9125, allocations: 1.219 MB / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9125, allocations: 0 / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9125, allocations: 0 / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.9125, allocations: 4 kB / 1.288 GB, free: 13.63 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00245/0.9149, allocations: 1.178 MB / 1.29 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.915, allocations: 13.44 kB / 1.29 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.9152, allocations: 122.9 kB / 1.29 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.9168, allocations: 243.1 kB / 1.29 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.9179, allocations: 0.5862 MB / 1.29 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.918, allocations: 50.02 kB / 1.29 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.9182, allocations: 66.34 kB / 1.291 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.9204, allocations: 1.091 MB / 1.292 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.9204, allocations: 2.906 kB / 1.292 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.9205, allocations: 34.86 kB / 1.292 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.9207, allocations: 85.14 kB / 1.292 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.9222, allocations: 0.7547 MB / 1.292 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006819/0.9291, allocations: 5.886 MB / 1.298 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.9303, allocations: 0.5062 MB / 1.299 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.931, allocations: 283.2 kB / 1.299 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.931, allocations: 5.875 kB / 1.299 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.931, allocations: 38.09 kB / 1.299 GB, free: 5.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.073e-06/0.931, allocations: 0 / 1.299 GB, free: 5.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004696/0.9357, allocations: 1.993 MB / 1.301 GB, free: 4.891 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.9358, allocations: 56.25 kB / 1.301 GB, free: 4.828 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.9366, allocations: 0.5539 MB / 1.302 GB, free: 4.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.9366, allocations: 36.23 kB / 1.302 GB, free: 4.531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.937, allocations: 426.7 kB / 1.302 GB, free: 4.188 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.9372, allocations: 176.8 kB / 1.302 GB, free: 4.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.9374, allocations: 132.6 kB / 1.302 GB, free: 3.973 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.9376, allocations: 378 kB / 1.303 GB, free: 3.629 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.9382, allocations: 275.6 kB / 1.303 GB, free: 3.535 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.9389, allocations: 494.3 kB / 1.303 GB, free: 3.164 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.9401, allocations: 0.8098 MB / 1.304 GB, free: 2.625 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.9401, allocations: 2.906 kB / 1.304 GB, free: 2.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00205/0.9422, allocations: 1.077 MB / 1.305 GB, free: 2.164 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9422, allocations: 10.3 kB / 1.305 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.9422, allocations: 8.719 kB / 1.305 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/0.9431, allocations: 276.8 kB / 1.306 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.9436, allocations: 137.2 kB / 1.306 GB, free: 2.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/0.951, allocations: 7.143 MB / 1.313 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.9517, allocations: 37.08 kB / 1.313 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.9518, allocations: 35.5 kB / 1.313 GB, free: 11.79 MB / 1.029 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.0004248/0.9522, allocations: 251.8 kB / 1.313 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.9523, allocations: 71.94 kB / 1.313 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.9541, allocations: 0.8823 MB / 1.314 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.9541, allocations: 4.219 kB / 1.314 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9541, allocations: 5.016 kB / 1.314 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.9541, allocations: 2.531 kB / 1.314 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.9569, allocations: 1.707 MB / 1.316 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.9569, allocations: 5.094 kB / 1.316 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.9571, allocations: 65 kB / 1.316 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.9579, allocations: 270 kB / 1.316 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.9579, allocations: 11.81 kB / 1.316 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.9651, allocations: 7.133 MB / 1.323 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9651, allocations: 2.25 kB / 1.323 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.9669, allocations: 0.977 MB / 1.324 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.9673, allocations: 202.8 kB / 1.324 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.9674, allocations: 13.16 kB / 1.324 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.9678, allocations: 29.64 kB / 1.324 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.9679, allocations: 45.7 kB / 1.324 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.968, allocations: 10.56 kB / 1.324 GB, free: 3.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005474/0.9685, allocations: 390.4 kB / 1.324 GB, free: 3.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.9685, allocations: 0 / 1.324 GB, free: 3.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009592/0.9695, allocations: 224.8 kB / 1.325 GB, free: 3.059 MB / 1.029 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.002095/0.9716, allocations: 1.535 MB / 1.326 GB, free: 1.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.9739, allocations: 1.224 MB / 1.327 GB, free: 1.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.9739, allocations: 5.281 kB / 1.327 GB, free: 1.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.9753, allocations: 0.8637 MB / 1.328 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.9766, allocations: 222 kB / 1.328 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.9878, allocations: 6.382 MB / 1.335 GB, free: 12.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/0.9888, allocations: 1.006 MB / 1.336 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000524/0.9893, allocations: 125.3 kB / 1.336 GB, free: 12.15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.9897, allocations: 250.4 kB / 1.336 GB, free: 11.96 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.9897, allocations: 0 / 1.336 GB, free: 11.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06548/1.055, allocations: 17.58 MB / 1.353 GB, free: 6.434 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.19, allocations: 12.66 kB / 1.353 GB, free: 6.426 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.123573500022758]