Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001686/0.001686, allocations: 101.9 kB / 19.73 MB, free: 2.113 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.002083/0.002083, allocations: 223.5 kB / 23.04 MB, free: 4.91 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.063/3.063, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001956/0.001956, allocations: 60.12 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004986/0.3143, allocations: 3.06 MB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.3175, allocations: 1.881 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.3176, allocations: 11.94 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.3186, allocations: 282.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.3191, allocations: 191.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.3197, allocations: 255.3 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.3201, allocations: 326.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.3204, allocations: 153 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3206, allocations: 135.5 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.3209, allocations: 159.4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.321, allocations: 20 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/0.3216, allocations: 395.2 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3217, allocations: 87.73 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.3218, allocations: 103.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.3225, allocations: 494.3 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3225, allocations: 4 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3225, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3225, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008861/0.3234, allocations: 0.501 MB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3234, allocations: 8.031 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.3234, allocations: 8.625 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.3235, allocations: 54.73 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.3243, allocations: 112.7 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.3246, allocations: 215.6 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3247, allocations: 12.81 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.3247, allocations: 20.38 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.3253, allocations: 404 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3253, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3254, allocations: 16 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.3254, allocations: 20.42 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.3259, allocations: 293.5 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.3279, allocations: 1.276 MB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.3284, allocations: 237.9 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3285, allocations: 103.8 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/0.3286, allocations: 11.94 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3286, allocations: 38.55 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3286, allocations: 96 / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002489/0.3311, allocations: 0.8969 MB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.3312, allocations: 88.98 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.3314, allocations: 215.8 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3314, allocations: 25.7 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3316, allocations: 184.4 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.3316, allocations: 79.33 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3317, allocations: 61.66 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3319, allocations: 334.8 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.3321, allocations: 128 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3324, allocations: 213.2 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.3329, allocations: 365.1 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3329, allocations: 4 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009038/0.3338, allocations: 0.5098 MB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3338, allocations: 8 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3338, allocations: 3.984 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.3343, allocations: 155.6 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3346, allocations: 59.89 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.3379, allocations: 3.967 MB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3381, allocations: 19.97 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3381, allocations: 8 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.3383, allocations: 178.5 kB / 1.344 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.3384, allocations: 19.86 kB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.3393, allocations: 469 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3393, allocations: 4 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3393, allocations: 7.938 kB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3393, allocations: 7.969 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.3409, allocations: 0.9381 MB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3409, allocations: 4 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3411, allocations: 35.92 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.3415, allocations: 135.6 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3415, allocations: 15.98 kB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.3447, allocations: 3.929 MB / 1.35 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3447, allocations: 4.031 kB / 1.35 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.3455, allocations: 0.6294 MB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3456, allocations: 51.81 kB / 1.351 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.3457, allocations: 16.14 kB / 1.351 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3459, allocations: 19.98 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.346, allocations: 31.89 kB / 1.351 GB, free: 7.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.346, allocations: 11.94 kB / 1.351 GB, free: 7.801 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001573/0.3461, allocations: 153.5 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005114/0.3467, allocations: 99.8 kB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001257/0.3479, allocations: 1.187 MB / 1.352 GB, free: 6.301 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009603/0.3489, allocations: 0.5731 MB / 1.353 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3489, allocations: 4.062 kB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.3494, allocations: 385.2 kB / 1.353 GB, free: 5.301 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.3499, allocations: 47.12 kB / 1.353 GB, free: 5.258 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.3542, allocations: 3.337 MB / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3544, allocations: 169 kB / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.3546, allocations: 58.23 kB / 1.356 GB, free: 1.457 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3547, allocations: 75.41 kB / 1.357 GB, free: 1.383 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3547, allocations: 0 / 1.357 GB, free: 1.383 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3879, allocations: 7.141 MB / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.54, allocations: 10.7 kB / 1.363 GB, free: 10.46 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 20.00280231598299]