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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 106.6 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.19 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00524/0.3947, allocations: 3.075 MB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3979, allocations: 1.925 MB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3981, allocations: 4 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009714/0.3991, allocations: 278.9 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.3997, allocations: 191.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.4005, allocations: 243.3 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.4009, allocations: 322.9 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.4013, allocations: 190.3 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.4015, allocations: 131.5 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.4019, allocations: 151.5 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.4019, allocations: 20 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.4027, allocations: 407.2 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.4028, allocations: 83.8 kB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4029, allocations: 119.4 kB / 1.034 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.4036, allocations: 486.6 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4036, allocations: 3.984 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4036, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4036, allocations: 4 kB / 1.034 GB, free: 10.45 MB / 0.8106 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.001084/0.4047, allocations: 0.5625 MB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4048, allocations: 8.031 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008383/0.4056, allocations: 108.5 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.406, allocations: 263.9 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4061, allocations: 12.81 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.4061, allocations: 20.36 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.4067, allocations: 365.4 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4067, allocations: 0 / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.4067, allocations: 4 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.4068, allocations: 32.42 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.4073, allocations: 289.5 kB / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.4095, allocations: 1.729 MB / 1.037 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.41, allocations: 328.9 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.4101, allocations: 105.7 kB / 1.038 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4103, allocations: 93.03 kB / 1.038 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.4103, allocations: 34.84 kB / 1.038 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.4103, allocations: 0 / 1.038 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.002463/0.4128, allocations: 0.9647 MB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4128, allocations: 81.11 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.413, allocations: 219.6 kB / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4131, allocations: 29.73 kB / 1.039 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4132, allocations: 176 kB / 1.039 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.4133, allocations: 82.89 kB / 1.039 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.4134, allocations: 57.7 kB / 1.04 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4135, allocations: 330.8 kB / 1.04 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.4137, allocations: 131.9 kB / 1.04 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4139, allocations: 211.1 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.4144, allocations: 363.2 kB / 1.041 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4144, allocations: 7.984 kB / 1.041 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008174/0.4152, allocations: 0.5072 MB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4152, allocations: 4 kB / 1.041 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4152, allocations: 7.984 kB / 1.041 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.4158, allocations: 155.6 kB / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.416, allocations: 55.91 kB / 1.041 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.4192, allocations: 4.19 MB / 1.045 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4194, allocations: 23.91 kB / 1.045 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.4194, allocations: 16 kB / 1.045 GB, free: 14.09 MB / 0.8262 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.0001834/0.4196, allocations: 173.7 kB / 1.046 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.4197, allocations: 23.72 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008626/0.4206, allocations: 466.6 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4206, allocations: 7.984 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4206, allocations: 4 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4207, allocations: 120.8 kB / 1.046 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.4208, allocations: 4 kB / 1.046 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.421, allocations: 15.98 kB / 1.046 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.421, allocations: 23.97 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009777/0.422, allocations: 0.6206 MB / 1.047 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007589/0.4228, allocations: 0.7403 MB / 1.048 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001922/0.423, allocations: 143.8 kB / 1.048 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001524/0.4231, allocations: 161.5 kB / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of Backend: time 4.01e-07/0.4231, allocations: 0 / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.4248, allocations: 0.7299 MB / 1.049 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00114/0.4259, allocations: 1.004 MB / 1.049 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.01013/0.4361, allocations: 5.605 MB / 1.055 GB, free: 4.148 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) 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) Reference file matches