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.001356/0.001356, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001506/0.001506, allocations: 215.4 kB / 22.24 MB, free: 5.258 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.793 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.135/3.135, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",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.002031/0.002031, allocations: 67.31 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005566/0.3301, allocations: 3.07 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3336, allocations: 1.874 MB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3337, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.3347, allocations: 290.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.3352, allocations: 199 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.3358, allocations: 252.5 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.3363, allocations: 323 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.3366, allocations: 157.1 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.3369, allocations: 131.5 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.3372, allocations: 167.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3372, allocations: 24 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.3378, allocations: 387.2 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.338, allocations: 79.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3381, allocations: 103.5 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.3388, allocations: 0.4905 MB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3388, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3388, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3388, allocations: 4 kB / 1.333 GB, free: 9.945 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.001056/0.3398, allocations: 0.4971 MB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3399, allocations: 8.031 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.3399, allocations: 58.73 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.3407, allocations: 108.7 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.3411, allocations: 219 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3412, allocations: 12.81 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.3412, allocations: 20.38 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.3418, allocations: 412.2 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3418, allocations: 0 / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3418, allocations: 8 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.3419, allocations: 24.42 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.3424, allocations: 289.5 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3445, allocations: 1.279 MB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.345, allocations: 233.1 kB / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3452, allocations: 105.5 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.3452, allocations: 11.98 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3453, allocations: 42.56 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3453, allocations: 0 / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002471/0.3477, allocations: 0.8857 MB / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3478, allocations: 85.05 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.348, allocations: 223.6 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3481, allocations: 29.73 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3482, allocations: 180.4 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.3483, allocations: 87.36 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3484, allocations: 61.64 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3485, allocations: 330.8 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3488, allocations: 127.9 kB / 1.338 GB, free: 4.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.3491, allocations: 213.2 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.3497, allocations: 371.3 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3497, allocations: 0 / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00104/0.3508, allocations: 0.5084 MB / 1.339 GB, free: 3.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3508, allocations: 5.719 kB / 1.339 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3508, allocations: 4 kB / 1.339 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.3514, allocations: 155.2 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.3516, allocations: 59.89 kB / 1.34 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.3553, allocations: 3.972 MB / 1.343 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3555, allocations: 19.97 kB / 1.343 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3555, allocations: 16 kB / 1.344 GB, free: 14.7 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.0002039/0.3557, allocations: 166.2 kB / 1.344 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.3558, allocations: 23.86 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009774/0.3568, allocations: 477.3 kB / 1.344 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3568, allocations: 0 / 1.344 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3568, allocations: 4 kB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3568, allocations: 3.984 kB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3584, allocations: 0.9405 MB / 1.345 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3585, allocations: 0 / 1.345 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3586, allocations: 39.92 kB / 1.345 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.359, allocations: 139.3 kB / 1.345 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.359, allocations: 8 kB / 1.345 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.3624, allocations: 3.937 MB / 1.349 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3624, allocations: 4.438 kB / 1.349 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.3633, allocations: 0.6255 MB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3634, allocations: 51.77 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.3635, allocations: 8 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3637, allocations: 20.03 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.3637, allocations: 31.88 kB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3638, allocations: 8 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001682/0.3639, allocations: 153.5 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 0 / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000539/0.3645, allocations: 103.9 kB / 1.35 GB, free: 7.527 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.001296/0.3658, allocations: 1.2 MB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.3668, allocations: 0.5694 MB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3668, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.3674, allocations: 398 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.3679, allocations: 45.8 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.3724, allocations: 3.336 MB / 1.355 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.3726, allocations: 173 kB / 1.356 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000174/0.3728, allocations: 62.23 kB / 1.356 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3729, allocations: 71.41 kB / 1.356 GB, free: 1.348 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/0.3729, allocations: 4 kB / 1.356 GB, free: 1.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/0.4153, allocations: 7.477 MB / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.46, allocations: 4.062 kB / 1.363 GB, free: 10.05 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable grid.P.real in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.0710750889848]