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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007808/0.007808, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001675/0.001675, allocations: 197 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 71.89 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.302, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003584/0.3057, allocations: 2.641 MB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3076, allocations: 1.32 MB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.3076, allocations: 4 kB / 1.212 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.3083, allocations: 185.4 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3087, allocations: 167.2 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.309, allocations: 163.7 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.3093, allocations: 267.1 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.3096, allocations: 139 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3097, allocations: 107.6 kB / 1.213 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.31, allocations: 119.6 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.31, allocations: 16 kB / 1.213 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.3102, allocations: 151.6 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.3103, allocations: 71.81 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.3104, allocations: 87.53 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3107, allocations: 299 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3107, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3107, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.3108, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 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.0006904/0.3115, allocations: 498.9 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3115, allocations: 8.625 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.312, allocations: 68.67 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3123, allocations: 251.9 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3123, allocations: 8.656 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3123, allocations: 16.31 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.3128, allocations: 305 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3129, allocations: 3.938 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.3129, allocations: 3.984 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.3129, allocations: 32.25 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.3134, allocations: 256.6 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.3149, allocations: 1.498 MB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.3154, allocations: 269 kB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3157, allocations: 121.6 kB / 1.217 GB, free: 388 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3157, allocations: 4 kB / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3157, allocations: 38.56 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.3157, allocations: 0 / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0007385/0.3165, allocations: 338.6 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3165, allocations: 77.11 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3167, allocations: 183 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3167, allocations: 33.83 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3168, allocations: 140.1 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.3168, allocations: 55.2 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.3169, allocations: 41.7 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.317, allocations: 334.8 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3173, allocations: 100.8 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3175, allocations: 174.5 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.318, allocations: 285 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.318, allocations: 0 / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005482/0.3186, allocations: 313.1 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3186, allocations: 8 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3186, allocations: 0 / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3186, allocations: 4 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3189, allocations: 55.95 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3189, allocations: 7.938 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3191, allocations: 31.81 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3192, allocations: 12.22 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002616/0.3194, allocations: 199.9 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002145/0.3197, allocations: 152.4 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004042/0.3201, allocations: 254.8 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.3201, allocations: 0 / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004918/0.3206, allocations: 285.1 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.3206, allocations: 4 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3206, allocations: 4.25 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.3206, allocations: 8 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3208, allocations: 47.91 kB / 1.22 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3209, allocations: 7.984 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.321, allocations: 27.83 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3211, allocations: 4 kB / 1.22 GB, free: 13.02 MB / 0.9825 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.0001092/0.3212, allocations: 196.1 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.3212, allocations: 19.8 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.3218, allocations: 270.9 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3218, allocations: 0 / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3218, allocations: 4 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3218, allocations: 0 / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3229, allocations: 0.6772 MB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3229, allocations: 7.938 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3231, allocations: 39.95 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3231, allocations: 4 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3232, allocations: 11.94 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3232, allocations: 3.984 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3232, allocations: 4 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.3237, allocations: 453.9 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3238, allocations: 108.8 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3239, allocations: 15.94 kB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3241, allocations: 19.97 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.3242, allocations: 11.98 kB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3242, allocations: 7.938 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.694e-05/0.3243, allocations: 135.2 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3243, allocations: 4 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004616/0.3248, allocations: 79.84 kB / 1.222 GB, free: 10.84 MB / 0.9825 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.0001124/0.3249, allocations: 99.25 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.3256, allocations: 374 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3256, allocations: 4.938 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.3258, allocations: 112 kB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.3264, allocations: 62.47 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.3271, allocations: 442.3 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3274, allocations: 0.7441 MB / 1.223 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001853/0.3276, allocations: 77.45 kB / 1.223 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3277, allocations: 19.38 kB / 1.223 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3277, allocations: 0 / 1.223 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of Templates: time 0.00517/0.3329, allocations: 2.375 MB / 1.226 GB, free: 6.508 MB / 0.9825 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=480 -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/jenkins/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