Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001791/0.001791, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002317/0.002317, allocations: 217.2 kB / 22.25 MB, free: 4.852 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.504/1.504, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476 MB / 0.7699 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_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.002096/0.002096, allocations: 67.94 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005003/0.297, allocations: 3.076 MB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3003, allocations: 1.885 MB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3004, allocations: 11.94 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.3014, allocations: 286.9 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.3018, allocations: 195.1 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.3024, allocations: 247.3 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.3029, allocations: 322.9 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.3032, allocations: 146.9 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.3034, allocations: 147.4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.3037, allocations: 151.4 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.3037, allocations: 20 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.3044, allocations: 375.3 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3045, allocations: 95.66 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3046, allocations: 91.59 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.3053, allocations: 0.4983 MB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3053, allocations: 0 / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3053, allocations: 0 / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3053, allocations: 0 / 1.29 GB, free: 4.879 MB / 0.9825 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.0008985/0.3062, allocations: 497.1 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3062, allocations: 12.03 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.3063, allocations: 62.7 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.3071, allocations: 108.7 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.3074, allocations: 202.1 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3075, allocations: 20.8 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3075, allocations: 16.38 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.3081, allocations: 416.1 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3081, allocations: 0 / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.3081, allocations: 8 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.3082, allocations: 24.42 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.3086, allocations: 301.4 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.3107, allocations: 1.272 MB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3112, allocations: 237 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3114, allocations: 109.6 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.3114, allocations: 12 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3115, allocations: 38.5 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.3115, allocations: 0 / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002506/0.314, allocations: 0.9005 MB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.314, allocations: 85.05 kB / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3143, allocations: 215.7 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3143, allocations: 29.7 kB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3144, allocations: 172.6 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3145, allocations: 87.27 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3146, allocations: 65.62 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3148, allocations: 330.8 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.315, allocations: 131.9 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.3153, allocations: 209.2 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.3158, allocations: 367.4 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3158, allocations: 0 / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009189/0.3167, allocations: 0.5129 MB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3167, allocations: 8 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3167, allocations: 0 / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.3173, allocations: 155.6 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3175, allocations: 59.91 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.321, allocations: 3.976 MB / 1.3 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3212, allocations: 20.02 kB / 1.3 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3212, allocations: 15.98 kB / 1.3 GB, free: 9.637 MB / 0.9981 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.0002052/0.3214, allocations: 161.9 kB / 1.3 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.3215, allocations: 23.91 kB / 1.3 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.3224, allocations: 474.5 kB / 1.301 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3224, allocations: 4 kB / 1.301 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3224, allocations: 0 / 1.301 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3224, allocations: 0 / 1.301 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.3241, allocations: 0.9443 MB / 1.302 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3241, allocations: 7.938 kB / 1.302 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3243, allocations: 36 kB / 1.302 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/0.3247, allocations: 135.5 kB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3247, allocations: 12 kB / 1.302 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003181/0.3279, allocations: 3.953 MB / 1.306 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.3279, allocations: 4.031 kB / 1.306 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.3287, allocations: 0.6202 MB / 1.306 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3289, allocations: 47.78 kB / 1.306 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3289, allocations: 11.98 kB / 1.306 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3291, allocations: 15.98 kB / 1.306 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3292, allocations: 24.06 kB / 1.307 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.3292, allocations: 16 kB / 1.307 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00016/0.3294, allocations: 153.5 kB / 1.307 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3294, allocations: 0 / 1.307 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005269/0.3299, allocations: 95.88 kB / 1.307 GB, free: 2.469 MB / 0.9981 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.001261/0.3312, allocations: 1.205 MB / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.3322, allocations: 0.5668 MB / 1.308 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3322, allocations: 0 / 1.308 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.3327, allocations: 398.1 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.3332, allocations: 39.97 kB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.3377, allocations: 3.322 MB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.3379, allocations: 169.2 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.3381, allocations: 58.25 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3382, allocations: 75.41 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/0.3382, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.3792, allocations: 7.368 MB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.68, allocations: 5.281 kB / 1.32 GB, free: 5.117 MB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.17256464762613]