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.0008097/0.0008097, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007889/0.0007889, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8372/0.8372, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.584/1.584, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.31e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002964/0.002978, allocations: 3.034 MB / 0.9534 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.005012, allocations: 1.873 MB / 0.9553 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.005107, allocations: 11.94 kB / 0.9553 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.005675, allocations: 280.5 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.005968, allocations: 194.9 kB / 0.9557 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.006309, allocations: 266.9 kB / 0.956 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.006572, allocations: 326.8 kB / 0.9563 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.006812, allocations: 153 kB / 0.9564 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.006999, allocations: 191.5 kB / 0.9566 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.007186, allocations: 135.6 kB / 0.9568 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.007211, allocations: 20 kB / 0.9568 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.007539, allocations: 379.1 kB / 0.9571 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.007621, allocations: 99.7 kB / 0.9572 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.007682, allocations: 79.83 kB / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.008108, allocations: 0.5219 MB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.008109, allocations: 7.938 kB / 0.9578 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00811, allocations: 3.938 kB / 0.9578 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.008114, allocations: 0 / 0.9578 GB, free: 11.98 MB / 0.9167 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.0005719/0.008686, allocations: 493.2 kB / 0.9583 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.008721, allocations: 12.03 kB / 0.9583 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.008767, allocations: 58.72 kB / 0.9584 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.009174, allocations: 112.6 kB / 0.9585 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.009408, allocations: 211.5 kB / 0.9587 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.009424, allocations: 16.88 kB / 0.9587 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.009448, allocations: 20.36 kB / 0.9587 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.009817, allocations: 408.8 kB / 0.9591 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009826, allocations: 192 / 0.9591 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.009845, allocations: 12.12 kB / 0.9591 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.009874, allocations: 24.48 kB / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.01016, allocations: 297.8 kB / 0.9594 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01131, allocations: 1.272 MB / 0.9607 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01158, allocations: 237.1 kB / 0.9609 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.01168, allocations: 109.6 kB / 0.961 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.01172, allocations: 11.98 kB / 0.961 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.01174, allocations: 34.56 kB / 0.961 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.01175, allocations: 0 / 0.961 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001422/0.01317, allocations: 0.907 MB / 0.9619 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.0132, allocations: 81.11 kB / 0.962 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01333, allocations: 219.7 kB / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01335, allocations: 29.7 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.01342, allocations: 172.5 kB / 0.9624 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.01346, allocations: 83.27 kB / 0.9625 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.01353, allocations: 61.66 kB / 0.9625 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.0136, allocations: 338.8 kB / 0.9629 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01372, allocations: 127.8 kB / 0.963 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01388, allocations: 213.4 kB / 0.9632 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.01416, allocations: 366.9 kB / 0.9635 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01417, allocations: 0 / 0.9635 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005008/0.01467, allocations: 0.4984 MB / 0.964 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01468, allocations: 8 kB / 0.964 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01469, allocations: 0 / 0.964 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.01496, allocations: 155.6 kB / 0.9642 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.0151, allocations: 67.83 kB / 0.9642 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.0169, allocations: 3.965 MB / 0.9681 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.01699, allocations: 27.97 kB / 0.9681 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.017, allocations: 8.094 kB / 0.9681 GB, free: 0.7539 MB / 0.9167 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.000105/0.01711, allocations: 165.8 kB / 0.9683 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.01715, allocations: 31.8 kB / 0.9683 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.01764, allocations: 468.4 kB / 0.9688 GB, free: 80 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01764, allocations: 7.938 kB / 0.9688 GB, free: 72 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.01764, allocations: 4 kB / 0.9688 GB, free: 68 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01765, allocations: 3.984 kB / 0.9688 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.01855, allocations: 0.943 MB / 0.9697 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01855, allocations: 0 / 0.9697 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.01862, allocations: 35.92 kB / 0.9698 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.01881, allocations: 135.5 kB / 0.9699 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01882, allocations: 15.98 kB / 0.9699 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.02039, allocations: 3.945 MB / 0.9738 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02039, allocations: 4.031 kB / 0.9738 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.02084, allocations: 0.6216 MB / 0.9744 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.02091, allocations: 43.88 kB / 0.9744 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.02092, allocations: 7.953 kB / 0.9744 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.02104, allocations: 23.92 kB / 0.9744 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.02107, allocations: 27.98 kB / 0.9745 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02109, allocations: 16 kB / 0.9745 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.02117, allocations: 161.5 kB / 0.9746 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02117, allocations: 0 / 0.9746 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003009/0.02147, allocations: 91.92 kB / 0.9747 GB, free: 9.57 MB / 0.9323 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.0007715/0.02225, allocations: 1.193 MB / 0.9759 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.02279, allocations: 0.5634 MB / 0.9764 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02279, allocations: 0 / 0.9764 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.02304, allocations: 390.2 kB / 0.9768 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.02338, allocations: 43.14 kB / 0.9768 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.02593, allocations: 3.33 MB / 0.9801 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.02605, allocations: 177.1 kB / 0.9803 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.748e-05/0.02615, allocations: 54.25 kB / 0.9803 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.02622, allocations: 76.47 kB / 0.9804 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/0.02622, allocations: 0 / 0.9804 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.04556, allocations: 7.489 MB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.557, allocations: 4.969 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.256109553389251]