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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_11_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.008098/0.008098, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002128/0.002129, allocations: 195.2 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2976, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004203/0.3018, allocations: 2.643 MB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.304, allocations: 1.324 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.3041, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.3048, allocations: 179.2 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.3052, allocations: 163.3 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.3056, allocations: 167.3 kB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.3059, allocations: 263.1 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.3063, allocations: 141.5 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.3064, allocations: 103.6 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3067, allocations: 127.5 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.3067, allocations: 16 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.307, allocations: 143.7 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.3071, allocations: 67.8 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3072, allocations: 99.53 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.3076, allocations: 294.8 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3076, allocations: 0 / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3076, allocations: 0 / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.3076, allocations: 0 / 1.226 GB, free: 8.582 MB / 0.9825 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.000788/0.3084, allocations: 498.7 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3085, allocations: 8.031 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.3085, allocations: 54.67 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.309, allocations: 76.66 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3093, allocations: 251.9 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3093, allocations: 12.64 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3094, allocations: 12.38 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3099, allocations: 316.4 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.31, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.31, allocations: 12 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.31, allocations: 28.25 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.3106, allocations: 256.6 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.3123, allocations: 1.502 MB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.3128, allocations: 253 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.3131, allocations: 129.6 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3131, allocations: 4 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3131, allocations: 38.48 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3132, allocations: 0 / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007757/0.3139, allocations: 341.3 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.314, allocations: 81.09 kB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3142, allocations: 179.3 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3142, allocations: 25.7 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3143, allocations: 148.2 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.3144, allocations: 59.48 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.3145, allocations: 49.69 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3147, allocations: 326.8 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.3149, allocations: 112.8 kB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3152, allocations: 161.7 kB / 1.23 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.3157, allocations: 278.6 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3157, allocations: 0 / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005935/0.3163, allocations: 315.1 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3163, allocations: 4 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3163, allocations: 0 / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3164, allocations: 4 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3166, allocations: 63.83 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3167, allocations: 4 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.3169, allocations: 32.08 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.317, allocations: 15.94 kB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002802/0.3172, allocations: 196 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.3175, allocations: 150.4 kB / 1.231 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004237/0.3179, allocations: 255.5 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/0.3179, allocations: 3.938 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005799/0.3185, allocations: 276.2 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.3185, allocations: 12.25 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.3186, allocations: 0 / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.3186, allocations: 4 kB / 1.232 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3188, allocations: 55.89 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3188, allocations: 4 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.319, allocations: 23.88 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.319, allocations: 15.94 kB / 1.232 GB, free: 1.555 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.000139/0.3191, allocations: 192.2 kB / 1.232 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.3192, allocations: 19.91 kB / 1.232 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.3198, allocations: 266.9 kB / 1.233 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3198, allocations: 4 kB / 1.233 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3198, allocations: 0 / 1.233 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.3198, allocations: 3.984 kB / 1.233 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3209, allocations: 0.6888 MB / 1.233 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3209, allocations: 7.984 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3212, allocations: 47.95 kB / 1.233 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3212, allocations: 3.938 kB / 1.233 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3212, allocations: 4 kB / 1.233 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3212, allocations: 3.938 kB / 1.233 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3212, allocations: 4 kB / 1.233 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.3218, allocations: 442.2 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.322, allocations: 120.9 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.322, allocations: 3.938 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3223, allocations: 23.97 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3223, allocations: 11.92 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3223, allocations: 8 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3225, allocations: 135.2 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3225, allocations: 0 / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004619/0.3229, allocations: 75.89 kB / 1.234 GB, free: 15.38 MB / 0.9981 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.0009418/0.3239, allocations: 0.9948 MB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.3247, allocations: 384.2 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3247, allocations: 4.125 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.3249, allocations: 111.9 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3254, allocations: 45.66 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.3286, allocations: 2.458 MB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.329, allocations: 0.748 MB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.3292, allocations: 77.45 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.3294, allocations: 51.42 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.3294, allocations: 0 / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.3553, allocations: 4.199 MB / 1.243 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.063, allocations: 6.625 kB / 1.243 GB, free: 6.242 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv","/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