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.00177/0.00177, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00143/0.00143, allocations: 215 kB / 20.13 MB, free: 2.949 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.993/2.993, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] 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.001988/0.001988, allocations: 71.89 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9768/0.9788, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004097/0.9829, allocations: 3.128 MB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.9856, allocations: 2.008 MB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.9857, allocations: 10.62 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008422/0.9866, allocations: 290.3 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.987, allocations: 194.6 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.9876, allocations: 252.1 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.988, allocations: 318.2 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.9883, allocations: 158 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.9885, allocations: 137.6 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.9888, allocations: 159.1 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.9889, allocations: 24 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007323/0.9896, allocations: 422 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.9897, allocations: 88.64 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.9898, allocations: 114.5 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007167/0.9906, allocations: 0.4902 MB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.9906, allocations: 4.062 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9906, allocations: 4 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.9906, allocations: 0 / 1.329 GB, free: 20.13 MB / 1.061 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.0009741/0.9916, allocations: 0.5671 MB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.9916, allocations: 16.92 kB / 1.33 GB, free: 19.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.438e-05/0.9916, allocations: 6.125 kB / 1.33 GB, free: 19.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.9917, allocations: 58.34 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/0.9926, allocations: 117 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.993, allocations: 269.8 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.993, allocations: 16.17 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.993, allocations: 20.41 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.9936, allocations: 360.4 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9937, allocations: 0 / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.9937, allocations: 7.344 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.9937, allocations: 26.25 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.9942, allocations: 289.9 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.9963, allocations: 1.734 MB / 1.332 GB, free: 17.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.9968, allocations: 319.2 kB / 1.333 GB, free: 17.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.997, allocations: 100.8 kB / 1.333 GB, free: 17.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/0.9971, allocations: 90.02 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.9971, allocations: 41.23 kB / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.9971, allocations: 0 / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002695/0.9998, allocations: 0.958 MB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9998, allocations: 87.91 kB / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1, allocations: 220 kB / 1.334 GB, free: 16.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/1, allocations: 26.77 kB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/1, allocations: 171.9 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/1, allocations: 88.77 kB / 1.334 GB, free: 16.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1, allocations: 64.98 kB / 1.334 GB, free: 16.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/1, allocations: 329.4 kB / 1.335 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/1.001, allocations: 132.6 kB / 1.335 GB, free: 15.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/1.001, allocations: 212.2 kB / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/1.001, allocations: 367.2 kB / 1.335 GB, free: 15.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.001, allocations: 4.5 kB / 1.335 GB, free: 15.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001116/1.003, allocations: 0.5133 MB / 1.336 GB, free: 15.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.003, allocations: 7.078 kB / 1.336 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.003, allocations: 2.844 kB / 1.336 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/1.003, allocations: 158.7 kB / 1.336 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.003, allocations: 57.75 kB / 1.336 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.006, allocations: 4.188 MB / 1.34 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/1.006, allocations: 17.31 kB / 1.34 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/1.006, allocations: 12.08 kB / 1.34 GB, free: 11.08 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.0001714/1.006, allocations: 170.2 kB / 1.34 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/1.006, allocations: 18.5 kB / 1.341 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/1.007, allocations: 477.9 kB / 1.341 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.007, allocations: 3.125 kB / 1.341 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.007, allocations: 1.656 kB / 1.341 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.007, allocations: 1.453 kB / 1.341 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.009, allocations: 0.9998 MB / 1.342 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.009, allocations: 1.375 kB / 1.342 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/1.009, allocations: 35.36 kB / 1.342 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/1.009, allocations: 142.2 kB / 1.342 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.009, allocations: 10.66 kB / 1.342 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.011, allocations: 4.17 MB / 1.346 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.011, allocations: 2.5 kB / 1.346 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/1.012, allocations: 0.6173 MB / 1.347 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.012, allocations: 131 kB / 1.347 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/1.012, allocations: 12.75 kB / 1.347 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.013, allocations: 15.25 kB / 1.347 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.013, allocations: 25.03 kB / 1.347 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.013, allocations: 12.53 kB / 1.347 GB, free: 5.383 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001371/1.013, allocations: 159.6 kB / 1.347 GB, free: 5.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.347 GB, free: 5.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005812/1.013, allocations: 102.3 kB / 1.347 GB, free: 5.258 MB / 1.061 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.001022/1.014, allocations: 1.204 MB / 1.348 GB, free: 4.258 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009357/1.015, allocations: 0.5612 MB / 1.349 GB, free: 3.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.015, allocations: 1.781 kB / 1.349 GB, free: 3.922 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/1.016, allocations: 396.1 kB / 1.349 GB, free: 3.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/1.016, allocations: 49.08 kB / 1.349 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/1.02, allocations: 3.328 MB / 1.353 GB, free: 1.273 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.021, allocations: 0.7877 MB / 1.353 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001984/1.021, allocations: 60.34 kB / 1.353 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.021, allocations: 70.56 kB / 1.354 GB, free: 0.5 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/1.021, allocations: 0 / 1.354 GB, free: 0.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/1.056, allocations: 6.899 MB / 1.36 GB, free: 15.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.81, allocations: 17.7 kB / 1.36 GB, free: 15.67 MB / 1.076 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.53390069300076]