Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00151/0.00151, allocations: 105.5 kB / 15.99 MB, free: 6.355 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.001479/0.001479, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 61.19 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3041, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004529/0.3087, allocations: 2.69 MB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.311, allocations: 1.317 MB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.3111, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.3118, allocations: 163.5 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.3121, allocations: 155.4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3124, allocations: 155.7 kB / 1.069 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3128, allocations: 267.1 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.3131, allocations: 157.4 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3133, allocations: 103.6 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3136, allocations: 131.5 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.3137, allocations: 12 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.3139, allocations: 143.7 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.314, allocations: 71.8 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3141, allocations: 87.53 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.3144, allocations: 223.7 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3145, allocations: 0 / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3145, allocations: 8 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3145, allocations: 0 / 1.07 GB, free: 9.453 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.0008667/0.3153, allocations: 0.4911 MB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3154, allocations: 8.031 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.3159, allocations: 72.56 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3162, allocations: 232 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3162, allocations: 12.66 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3162, allocations: 16.36 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.3168, allocations: 304.9 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3168, allocations: 0 / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3168, allocations: 8 kB / 1.071 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.3169, allocations: 28.25 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.3174, allocations: 268.5 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.3193, allocations: 1.502 MB / 1.073 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.3199, allocations: 261 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.3201, allocations: 125.6 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3202, allocations: 11.94 kB / 1.073 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3202, allocations: 34.55 kB / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.3202, allocations: 0 / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0007621/0.321, allocations: 341.2 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.321, allocations: 81.09 kB / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3212, allocations: 178.8 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3212, allocations: 25.7 kB / 1.074 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.3213, allocations: 144 kB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3215, allocations: 59.19 kB / 1.074 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.3216, allocations: 45.69 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3217, allocations: 326.8 kB / 1.074 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.322, allocations: 108.8 kB / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3222, allocations: 169.6 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.3228, allocations: 280.6 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3228, allocations: 0 / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006397/0.3235, allocations: 313.2 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3235, allocations: 8 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3235, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3235, allocations: 4 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3238, allocations: 59.89 kB / 1.075 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3238, allocations: 0 / 1.075 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.324, allocations: 36.03 kB / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.324, allocations: 12 kB / 1.075 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003408/0.3244, allocations: 192 kB / 1.075 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002329/0.3246, allocations: 163.4 kB / 1.075 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004008/0.325, allocations: 253.1 kB / 1.076 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.325, allocations: 0 / 1.076 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004982/0.3255, allocations: 280.1 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.3256, allocations: 4.25 kB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3256, allocations: 8 kB / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.3256, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3258, allocations: 59.89 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3258, allocations: 4 kB / 1.076 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.326, allocations: 23.83 kB / 1.076 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.326, allocations: 8 kB / 1.076 GB, free: 2.516 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.0001859/0.3262, allocations: 196.1 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.3263, allocations: 23.69 kB / 1.076 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.3268, allocations: 271 kB / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3268, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3268, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3268, allocations: 7.984 kB / 1.076 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3279, allocations: 0.6733 MB / 1.077 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.3279, allocations: 3.984 kB / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.3281, allocations: 47.89 kB / 1.077 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3282, allocations: 4 kB / 1.077 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3282, allocations: 7.938 kB / 1.077 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3282, allocations: 4 kB / 1.077 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3282, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.3287, allocations: 453.9 kB / 1.078 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3289, allocations: 116.8 kB / 1.078 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3289, allocations: 11.94 kB / 1.078 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3291, allocations: 19.97 kB / 1.078 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3292, allocations: 11.98 kB / 1.078 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3292, allocations: 8 kB / 1.078 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001095/0.3293, allocations: 127.2 kB / 1.078 GB, free: 432 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3293, allocations: 0 / 1.078 GB, free: 432 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004528/0.3298, allocations: 83.84 kB / 1.078 GB, free: 348 kB / 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.0001256/0.3299, allocations: 107.2 kB / 1.078 GB, free: 232 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4161/0.746, allocations: 380.3 kB / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.746, allocations: 0 / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.7463, allocations: 120.5 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.7469, allocations: 44.19 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.7477, allocations: 0.5364 MB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.7479, allocations: 0.7434 MB / 1.08 GB, free: 21.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.748, allocations: 22.67 kB / 1.08 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of SimCode: time 6.02e-07/0.748, allocations: 3.75 kB / 1.08 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.004631/0.7526, allocations: 2.575 MB / 1.082 GB, free: 21.5 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches