Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001171/0.001171, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 69.08 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7884, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004186/0.7926, allocations: 2.642 MB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.7951, allocations: 1.315 MB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.7953, allocations: 3.844 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.7961, allocations: 177.1 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.7965, allocations: 169.9 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.797, allocations: 163 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.7973, allocations: 261.5 kB / 1.088 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.7977, allocations: 144.7 kB / 1.088 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.7979, allocations: 103.1 kB / 1.088 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.7981, allocations: 127.1 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.7982, allocations: 14.22 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.7985, allocations: 149.8 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.7986, allocations: 62.59 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.7987, allocations: 92.88 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.7991, allocations: 292.9 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7992, allocations: 0 / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7992, allocations: 1.125 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7992, allocations: 0 / 1.088 GB, free: 14.2 MB / 0.8419 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.0007942/0.8, allocations: 0.494 MB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.8, allocations: 9.719 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.8005, allocations: 67.16 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.8009, allocations: 241.8 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.8009, allocations: 10.38 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.8009, allocations: 17.64 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.8015, allocations: 307.7 kB / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8015, allocations: 0 / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.8015, allocations: 9.922 kB / 1.09 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.8016, allocations: 28.88 kB / 1.09 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.8021, allocations: 256.8 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.8039, allocations: 1.503 MB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.8045, allocations: 258 kB / 1.092 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.8047, allocations: 129.8 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.8048, allocations: 1.5 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.8048, allocations: 36.83 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.8048, allocations: 1.125 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0007979/0.8056, allocations: 346.3 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.8057, allocations: 80.05 kB / 1.092 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.8059, allocations: 180.5 kB / 1.092 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.8059, allocations: 25.7 kB / 1.092 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.806, allocations: 145.1 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.8061, allocations: 47.31 kB / 1.093 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.8062, allocations: 47.59 kB / 1.093 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8064, allocations: 330.6 kB / 1.093 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.8066, allocations: 112.9 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.8069, allocations: 171 kB / 1.093 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.8074, allocations: 283 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8074, allocations: 0 / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000589/0.808, allocations: 303.6 kB / 1.094 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.808, allocations: 5.344 kB / 1.094 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.808, allocations: 1.562 kB / 1.094 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.808, allocations: 8.062 kB / 1.094 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.8083, allocations: 54.88 kB / 1.094 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.8083, allocations: 4.125 kB / 1.094 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.8085, allocations: 31.97 kB / 1.094 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.8086, allocations: 12.55 kB / 1.094 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002893/0.8089, allocations: 195.8 kB / 1.094 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002462/0.8091, allocations: 161.1 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004456/0.8096, allocations: 254.8 kB / 1.094 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.8096, allocations: 0 / 1.094 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005597/0.8102, allocations: 278.5 kB / 1.095 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.8102, allocations: 6.25 kB / 1.095 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8102, allocations: 2.344 kB / 1.095 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.8102, allocations: 7.797 kB / 1.095 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.8104, allocations: 51.42 kB / 1.095 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8104, allocations: 2.969 kB / 1.095 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.8106, allocations: 33.64 kB / 1.095 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.8106, allocations: 11.72 kB / 1.095 GB, free: 9.824 MB / 0.8419 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.0001354/0.8108, allocations: 192.6 kB / 1.095 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.8109, allocations: 15.62 kB / 1.095 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.8114, allocations: 270.8 kB / 1.095 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8115, allocations: 2.469 kB / 1.095 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8115, allocations: 1.625 kB / 1.095 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8115, allocations: 5.406 kB / 1.095 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.8126, allocations: 0.6768 MB / 1.096 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8126, allocations: 2.578 kB / 1.096 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.8129, allocations: 51.17 kB / 1.096 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8129, allocations: 7.094 kB / 1.096 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.8129, allocations: 9.234 kB / 1.096 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.8129, allocations: 3.312 kB / 1.096 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8129, allocations: 5.406 kB / 1.096 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.8135, allocations: 451.8 kB / 1.096 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8137, allocations: 112.4 kB / 1.097 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.8137, allocations: 7.891 kB / 1.097 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.8139, allocations: 25.48 kB / 1.097 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.814, allocations: 8.859 kB / 1.097 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.814, allocations: 9.984 kB / 1.097 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001251/0.8141, allocations: 129.7 kB / 1.097 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8141, allocations: 1.281 kB / 1.097 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004777/0.8146, allocations: 80.19 kB / 1.097 GB, free: 8.492 MB / 0.8419 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.0001391/0.8148, allocations: 110.3 kB / 1.097 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.8156, allocations: 385.8 kB / 1.097 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8156, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.8158, allocations: 112.2 kB / 1.097 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.8163, allocations: 47.89 kB / 1.097 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.8172, allocations: 477.2 kB / 1.098 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.8176, allocations: 0.7495 MB / 1.099 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.8177, allocations: 28.17 kB / 1.099 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8177, allocations: 0 / 1.099 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.005282/0.823, allocations: 2.577 MB / 1.101 GB, free: 7.008 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches