Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005451/0.005451, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001581/0.001581, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2752, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004447/0.2797, allocations: 2.631 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.282, allocations: 1.317 MB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2821, allocations: 7.938 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.2829, allocations: 179.2 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.2833, allocations: 159.3 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.2837, allocations: 167.6 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.2841, allocations: 263.2 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.2844, allocations: 149.4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.2846, allocations: 99.61 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.2849, allocations: 131.5 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.285, allocations: 12 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.2852, allocations: 147.6 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.2853, allocations: 63.86 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2855, allocations: 91.53 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.2859, allocations: 295.2 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2859, allocations: 11.94 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2859, allocations: 0 / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.2859, allocations: 0 / 1.172 GB, free: 1.574 MB / 0.92 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.0008358/0.2868, allocations: 0.4947 MB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2868, allocations: 11.97 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.2869, allocations: 50.73 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.2874, allocations: 68.72 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.2877, allocations: 251.9 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2877, allocations: 8.656 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2877, allocations: 16.38 kB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.2883, allocations: 312.3 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2883, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2883, allocations: 7.984 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.2884, allocations: 32.25 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.2889, allocations: 256.6 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2906, allocations: 1.498 MB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.2912, allocations: 261.1 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2914, allocations: 129.6 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2915, allocations: 7.938 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2915, allocations: 34.56 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.2915, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007941/0.2923, allocations: 348.1 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2924, allocations: 77.11 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.2926, allocations: 182.6 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2926, allocations: 29.83 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2927, allocations: 144.3 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2928, allocations: 51.53 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.2929, allocations: 57.64 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.293, allocations: 322.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.2933, allocations: 108.8 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.2935, allocations: 173.6 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.294, allocations: 272.5 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2941, allocations: 0 / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006022/0.2947, allocations: 315.5 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2947, allocations: 8 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2947, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2947, allocations: 4 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.295, allocations: 55.89 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.295, allocations: 4 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2952, allocations: 35.8 kB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2953, allocations: 20.16 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002762/0.2955, allocations: 188.1 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002445/0.2958, allocations: 153.9 kB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004267/0.2962, allocations: 255.5 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.2962, allocations: 0 / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005284/0.2968, allocations: 278.5 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.2968, allocations: 4 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2968, allocations: 4.25 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.2968, allocations: 8 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.297, allocations: 47.95 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2971, allocations: 7.938 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2972, allocations: 23.94 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2973, allocations: 8 kB / 1.178 GB, free: 10.56 MB / 0.9356 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.0001283/0.2974, allocations: 196.1 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.2975, allocations: 23.83 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.298, allocations: 267 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.298, allocations: 4 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2981, allocations: 0 / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2981, allocations: 3.984 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.2992, allocations: 0.681 MB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2992, allocations: 4 kB / 1.179 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.2994, allocations: 47.89 kB / 1.179 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.2994, allocations: 7.938 kB / 1.179 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2995, allocations: 11.98 kB / 1.179 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2995, allocations: 0 / 1.179 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2995, allocations: 4 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.3001, allocations: 453.1 kB / 1.18 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3002, allocations: 112.9 kB / 1.18 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3002, allocations: 7.938 kB / 1.18 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3004, allocations: 27.97 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3005, allocations: 7.984 kB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3005, allocations: 4 kB / 1.18 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001211/0.3007, allocations: 139.2 kB / 1.18 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3007, allocations: 0 / 1.18 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004641/0.3011, allocations: 83.83 kB / 1.18 GB, free: 8.371 MB / 0.9356 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.0008984/0.302, allocations: 0.9854 MB / 1.181 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007606/0.3028, allocations: 371.5 kB / 1.181 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3028, allocations: 0.9375 kB / 1.181 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3031, allocations: 123.8 kB / 1.182 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.3035, allocations: 33.69 kB / 1.182 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.3067, allocations: 2.476 MB / 1.184 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.3072, allocations: 0.7478 MB / 1.185 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.3074, allocations: 81.44 kB / 1.185 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3075, allocations: 51.42 kB / 1.185 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3075, allocations: 4 kB / 1.185 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3333, allocations: 4.195 MB / 1.189 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.254, allocations: 4.438 kB / 1.189 GB, free: 15.23 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches