Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001355/0.001355, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001515/0.001515, allocations: 211.2 kB / 23.04 MB, free: 4.844 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.262/3.262, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [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.002087/0.002087, allocations: 71.3 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4113, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00541/0.4167, allocations: 2.637 MB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.4194, allocations: 1.305 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.4196, allocations: 7.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.4204, allocations: 171.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.4209, allocations: 167.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.4214, allocations: 169 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.4218, allocations: 275.1 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.4222, allocations: 119.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.4226, allocations: 119.6 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.4229, allocations: 135.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.4229, allocations: 12 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.4232, allocations: 131.7 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4234, allocations: 71.8 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4235, allocations: 71.66 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.424, allocations: 310.8 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.424, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.424, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.424, allocations: 0 / 1.333 GB, free: 11.27 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00104/0.425, allocations: 429.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4251, allocations: 12.03 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.4256, allocations: 72.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.426, allocations: 178.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.426, allocations: 12.66 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.426, allocations: 16.31 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.4268, allocations: 368.1 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4268, allocations: 3.938 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.4268, allocations: 15.97 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.4269, allocations: 28.2 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.4275, allocations: 252.6 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.4294, allocations: 1.103 MB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.4299, allocations: 241 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.4302, allocations: 133.6 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4302, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.4303, allocations: 38.56 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.4303, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0008832/0.4311, allocations: 344.5 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.4312, allocations: 81.11 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4314, allocations: 178.9 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.4315, allocations: 33.64 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.4316, allocations: 156.1 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.4317, allocations: 51.59 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4318, allocations: 45.66 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.432, allocations: 326.8 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.4322, allocations: 120.8 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4325, allocations: 195 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.433, allocations: 294.6 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.433, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006477/0.4337, allocations: 319 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4337, allocations: 4 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4337, allocations: 4 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4337, allocations: 4 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.434, allocations: 56.16 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.434, allocations: 7.938 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4343, allocations: 35.86 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4343, allocations: 4 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000307/0.4346, allocations: 202.7 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002835/0.4349, allocations: 183 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004502/0.4353, allocations: 274.5 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.4353, allocations: 0 / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005394/0.4359, allocations: 295.9 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.4359, allocations: 4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4359, allocations: 4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.4359, allocations: 4 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4361, allocations: 47.95 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4361, allocations: 3.938 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.4363, allocations: 27.88 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4363, allocations: 8 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.4365, allocations: 196.4 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.4366, allocations: 19.89 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.4372, allocations: 274.8 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4372, allocations: 0 / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4372, allocations: 0 / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4372, allocations: 4 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4383, allocations: 0.5986 MB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4383, allocations: 0 / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.4385, allocations: 47.95 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4385, allocations: 0 / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.4385, allocations: 4 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.4385, allocations: 15.92 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4385, allocations: 3.938 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.4392, allocations: 454 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.4393, allocations: 35.89 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4393, allocations: 3.938 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4395, allocations: 23.97 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4396, allocations: 11.92 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4396, allocations: 8 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001333/0.4397, allocations: 128.3 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4397, allocations: 3.938 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005262/0.4402, allocations: 83.89 kB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.4404, allocations: 111.1 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000784/0.4412, allocations: 357.7 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4412, allocations: 0 / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.4414, allocations: 117 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.4419, allocations: 32.91 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.4428, allocations: 476.3 kB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.4429, allocations: 139.9 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.443, allocations: 15.44 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.443, allocations: 0 / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of Templates: time 0.005212/0.4482, allocations: 2.682 MB / 1.344 GB, free: 14.84 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 12.026905454928055]