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.001857/0.001857, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002311/0.002311, allocations: 202.3 kB / 23 MB, free: 4.934 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.358/3.358, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.00203/0.00203, allocations: 72.92 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005397/0.42, allocations: 3.06 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.4234, allocations: 1.889 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.4236, allocations: 11.94 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.4246, allocations: 278.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.4251, allocations: 191.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.4258, allocations: 255.3 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.4262, allocations: 330.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.4265, allocations: 153 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.4268, allocations: 135.5 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.4271, allocations: 155.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.4271, allocations: 20 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.4278, allocations: 391.2 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4279, allocations: 87.73 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.428, allocations: 107.5 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.4287, allocations: 490.3 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4287, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4287, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4287, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 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.0009909/0.4297, allocations: 0.5088 MB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4297, allocations: 8.031 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.4306, allocations: 104.7 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.431, allocations: 210.1 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.431, allocations: 20.73 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.4311, allocations: 16.38 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.4318, allocations: 408.5 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4318, allocations: 0 / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.4318, allocations: 15.94 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.4319, allocations: 20.42 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.4324, allocations: 297.5 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.4345, allocations: 1.222 MB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.435, allocations: 237 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4352, allocations: 105.7 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.4352, allocations: 7.984 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.4353, allocations: 46.44 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.4353, allocations: 0 / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002629/0.4379, allocations: 0.9016 MB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.438, allocations: 85.14 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.4382, allocations: 207.1 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.4383, allocations: 33.69 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.4385, allocations: 176.4 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.4386, allocations: 87.25 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4387, allocations: 57.7 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4389, allocations: 338.8 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.4391, allocations: 131.9 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.4394, allocations: 209.2 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.4399, allocations: 365.2 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4399, allocations: 3.938 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009478/0.4408, allocations: 0.5139 MB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4409, allocations: 8 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4409, allocations: 0 / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/0.4415, allocations: 151.6 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.4417, allocations: 55.91 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.4454, allocations: 3.937 MB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.4456, allocations: 23.97 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.4456, allocations: 8 kB / 1.345 GB, free: 14.39 MB / 1.045 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.0003154/0.4459, allocations: 162.3 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.446, allocations: 28 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.447, allocations: 464.8 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4471, allocations: 7.984 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4471, allocations: 0 / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4472, allocations: 51.72 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.4472, allocations: 11.98 kB / 1.345 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4474, allocations: 31.86 kB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.4475, allocations: 19.95 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001055/0.4485, allocations: 0.6086 MB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009791/0.4495, allocations: 0.7401 MB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000207/0.4497, allocations: 131.9 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001608/0.4499, allocations: 148.2 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of Backend: time 5.91e-07/0.4499, allocations: 0 / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.4516, allocations: 0.7215 MB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of SimCode: time 0.001382/0.453, allocations: 1.016 MB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of Templates: time 0.0121/0.4651, allocations: 6.183 MB / 1.355 GB, free: 4.012 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] 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: 9.673831014995812]