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.0007739/0.0007739, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008081/0.0008081, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.839/0.839, allocations: 177.1 MB / 202.8 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.689/1.689, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.547e-05, allocations: 9.031 kB / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004752/0.004777, allocations: 3.022 MB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.007051, allocations: 1.865 MB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.00717, allocations: 7.938 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.007809, allocations: 289.1 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.008145, allocations: 202.8 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.008605, allocations: 255 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.008873, allocations: 330.7 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.009127, allocations: 157 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.009334, allocations: 187.5 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.009531, allocations: 143.6 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.009556, allocations: 20 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.009929, allocations: 375.1 kB / 1.006 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.01, allocations: 95.67 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.01007, allocations: 83.77 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.01052, allocations: 0.5219 MB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01052, allocations: 0 / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01052, allocations: 0 / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.01053, allocations: 0 / 1.007 GB, free: 5.953 MB / 0.9636 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.0006442/0.01117, allocations: 0.4971 MB / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.01121, allocations: 12.75 kB / 1.007 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.01125, allocations: 58.72 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.01167, allocations: 108.6 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.01191, allocations: 210 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.01193, allocations: 12.88 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.01195, allocations: 24.36 kB / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.01232, allocations: 401 kB / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01233, allocations: 192 / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01235, allocations: 16.11 kB / 1.008 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.01238, allocations: 24.48 kB / 1.008 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.01267, allocations: 289.8 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01387, allocations: 1.276 MB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.01416, allocations: 240.9 kB / 1.01 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.01426, allocations: 101.7 kB / 1.01 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.01431, allocations: 8 kB / 1.01 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.01433, allocations: 42.55 kB / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01433, allocations: 4 kB / 1.01 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001605/0.01594, allocations: 0.8969 MB / 1.011 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.01597, allocations: 81.11 kB / 1.011 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01612, allocations: 219.8 kB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01614, allocations: 25.7 kB / 1.011 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.01621, allocations: 176.5 kB / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01625, allocations: 91.25 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.01632, allocations: 57.7 kB / 1.012 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.0164, allocations: 338.8 kB / 1.012 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01652, allocations: 127.9 kB / 1.012 GB, free: 404 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01668, allocations: 215.4 kB / 1.012 GB, free: 156 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.017, allocations: 365.2 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.017, allocations: 0 / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005386/0.01754, allocations: 0.5122 MB / 1.013 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01755, allocations: 12.06 kB / 1.013 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01756, allocations: 0 / 1.013 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.01787, allocations: 155.2 kB / 1.013 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01802, allocations: 55.91 kB / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.02015, allocations: 3.98 MB / 1.017 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.02027, allocations: 24.08 kB / 1.017 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.02029, allocations: 8 kB / 1.017 GB, free: 10.71 MB / 0.9792 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.0001288/0.02042, allocations: 165.8 kB / 1.017 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.02045, allocations: 19.84 kB / 1.017 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.02101, allocations: 470.7 kB / 1.018 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02102, allocations: 3.938 kB / 1.018 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02102, allocations: 8 kB / 1.018 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02102, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.02201, allocations: 0.9328 MB / 1.019 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02201, allocations: 4.062 kB / 1.019 GB, free: 9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.02208, allocations: 39.92 kB / 1.019 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.0223, allocations: 147.2 kB / 1.019 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02232, allocations: 4 kB / 1.019 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.02399, allocations: 3.937 MB / 1.023 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.02399, allocations: 4.031 kB / 1.023 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.02448, allocations: 0.6158 MB / 1.024 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.02455, allocations: 51.83 kB / 1.024 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.02457, allocations: 8 kB / 1.024 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.0247, allocations: 27.91 kB / 1.024 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.02473, allocations: 27.94 kB / 1.024 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02475, allocations: 8 kB / 1.024 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.02484, allocations: 161.5 kB / 1.024 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.02484, allocations: 0 / 1.024 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003541/0.0252, allocations: 87.94 kB / 1.024 GB, free: 3.547 MB / 0.9792 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.0008908/0.02609, allocations: 1.207 MB / 1.025 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005976/0.02668, allocations: 0.5637 MB / 1.026 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02669, allocations: 0 / 1.026 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.02694, allocations: 389.1 kB / 1.026 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.0273, allocations: 57.42 kB / 1.026 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.02986, allocations: 3.318 MB / 1.029 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.02999, allocations: 177.2 kB / 1.029 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.0301, allocations: 62.23 kB / 1.029 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.03018, allocations: 72.47 kB / 1.03 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/0.03018, allocations: 0 / 1.03 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.0568, allocations: 7.494 MB / 1.037 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.451, allocations: 5.703 kB / 1.037 GB, free: 6.055 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.253146502189338]