Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001291/0.001291, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001423/0.001423, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.186/3.186, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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.002966/0.002966, allocations: 63.5 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.315, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005336/0.3203, allocations: 3.187 MB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.3237, allocations: 2.056 MB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3238, allocations: 7.938 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009609/0.3248, allocations: 286.9 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.3253, allocations: 199.1 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.326, allocations: 255.8 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.3264, allocations: 322.9 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.3267, allocations: 149.1 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.327, allocations: 147.5 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.3273, allocations: 155.5 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.3274, allocations: 20 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.3281, allocations: 423.2 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3282, allocations: 83.73 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3283, allocations: 127.3 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.329, allocations: 498.3 kB / 1.361 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.329, allocations: 4 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.329, allocations: 0 / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3291, allocations: 0 / 1.361 GB, free: 0.5977 MB / 1.045 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.000958/0.33, allocations: 0.5009 MB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3301, allocations: 8.031 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.745e-05/0.3301, allocations: 62.77 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.331, allocations: 104.6 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.3314, allocations: 211.5 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3314, allocations: 16.81 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3315, allocations: 16.38 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3321, allocations: 356.8 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3321, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3321, allocations: 15.94 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.3322, allocations: 24.41 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.3326, allocations: 301.5 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.3349, allocations: 1.631 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.3354, allocations: 244.9 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3356, allocations: 105.6 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.3356, allocations: 8 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3357, allocations: 34.56 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3357, allocations: 0 / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002509/0.3382, allocations: 0.9046 MB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3382, allocations: 85.05 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3385, allocations: 207.8 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3385, allocations: 29.7 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3386, allocations: 184.4 kB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.3387, allocations: 75.34 kB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3388, allocations: 65.69 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3389, allocations: 330.8 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.3391, allocations: 131.9 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3394, allocations: 217.2 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.3399, allocations: 361.2 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3399, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009151/0.3408, allocations: 0.5121 MB / 1.367 GB, free: 9.496 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3408, allocations: 8 kB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3409, allocations: 0 / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.3414, allocations: 151.5 kB / 1.367 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3416, allocations: 55.91 kB / 1.367 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.3449, allocations: 3.991 MB / 1.371 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3451, allocations: 20.02 kB / 1.371 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3451, allocations: 12 kB / 1.371 GB, free: 4.969 MB / 1.061 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.0001919/0.3453, allocations: 169.6 kB / 1.371 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.3454, allocations: 19.97 kB / 1.371 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.3463, allocations: 482.7 kB / 1.372 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3463, allocations: 4 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3463, allocations: 4 kB / 1.372 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3463, allocations: 4 kB / 1.372 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.348, allocations: 0.9601 MB / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.348, allocations: 7.938 kB / 1.373 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.3481, allocations: 27.98 kB / 1.373 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.3485, allocations: 147.5 kB / 1.373 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3485, allocations: 4 kB / 1.373 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.3517, allocations: 3.953 MB / 1.377 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3517, allocations: 3.938 kB / 1.377 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.3525, allocations: 0.6283 MB / 1.377 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3527, allocations: 51.77 kB / 1.377 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3527, allocations: 8 kB / 1.377 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3529, allocations: 23.92 kB / 1.378 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.353, allocations: 27.95 kB / 1.378 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.353, allocations: 8 kB / 1.378 GB, free: 14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001594/0.3532, allocations: 157.5 kB / 1.378 GB, free: 13.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3532, allocations: 0 / 1.378 GB, free: 13.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000529/0.3537, allocations: 95.86 kB / 1.378 GB, free: 13.75 MB / 1.076 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.3549, allocations: 1.201 MB / 1.379 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009862/0.3559, allocations: 0.5719 MB / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3559, allocations: 0 / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.3565, allocations: 398.1 kB / 1.38 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.357, allocations: 43.02 kB / 1.38 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.3614, allocations: 3.33 MB / 1.383 GB, free: 7.887 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.3619, allocations: 0.7868 MB / 1.384 GB, free: 7.074 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.3621, allocations: 58.23 kB / 1.384 GB, free: 7.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3622, allocations: 71.41 kB / 1.384 GB, free: 6.949 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3622, allocations: 0 / 1.384 GB, free: 6.949 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/0.4074, allocations: 7.128 MB / 1.391 GB, free: 15.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.58, allocations: 11.45 kB / 1.391 GB, free: 15.97 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.30493952310644]