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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007658/0.0007659, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.004666/0.004666, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 8.281 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5986, allocations: 153.8 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002972/0.6017, allocations: 2.333 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.6036, allocations: 1.297 MB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.6037, allocations: 11.94 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.6039, allocations: 27.78 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.6043, allocations: 151.4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.6047, allocations: 163.7 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.6051, allocations: 367 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.6056, allocations: 305.8 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.6058, allocations: 79.7 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.6061, allocations: 131.5 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.6061, allocations: 4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.6064, allocations: 191.6 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.6065, allocations: 55.86 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.6066, allocations: 109.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.607, allocations: 297.3 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.607, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.432e-06/0.607, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.607, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 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.0007237/0.6077, allocations: 471.1 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6078, allocations: 8.031 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.6078, allocations: 54.72 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/0.6084, allocations: 64.58 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.6086, allocations: 239.8 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6086, allocations: 16.58 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.6087, allocations: 16.38 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.6092, allocations: 316.6 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6092, allocations: 0 / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.6092, allocations: 8 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.6093, allocations: 28.27 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.6098, allocations: 268.5 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.6113, allocations: 1.506 MB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.6118, allocations: 265.1 kB / 1.032 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.612, allocations: 141.6 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.612, allocations: 0 / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.6121, allocations: 34.56 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.6121, allocations: 4 kB / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007377/0.6128, allocations: 357.3 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.6129, allocations: 81.05 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.613, allocations: 179.2 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.6131, allocations: 25.7 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.6131, allocations: 147.9 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.6132, allocations: 51.34 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.6132, allocations: 21.7 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.6133, allocations: 330.8 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.6135, allocations: 107.9 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.6138, allocations: 177.6 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.6143, allocations: 297 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6143, allocations: 0 / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005407/0.6148, allocations: 321.2 kB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/0.6149, allocations: 135.2 kB / 1.034 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6149, allocations: 4 kB / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6149, allocations: 4 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.6152, allocations: 59.83 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6152, allocations: 8 kB / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.6154, allocations: 39.75 kB / 1.034 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.6155, allocations: 8 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.6155, allocations: 4 kB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000445/0.6159, allocations: 245.3 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.6159, allocations: 0 / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.616, allocations: 8 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.6162, allocations: 59.89 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6162, allocations: 7.984 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.6163, allocations: 31.98 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6164, allocations: 8 kB / 1.034 GB, free: 3.91 MB / 0.7794 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.0001478/0.6165, allocations: 221 kB / 1.035 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.6166, allocations: 15.81 kB / 1.035 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.6171, allocations: 279 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6171, allocations: 7.938 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6171, allocations: 0 / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6172, allocations: 3.984 kB / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.6181, allocations: 0.6927 MB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6181, allocations: 0 / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.6184, allocations: 51.89 kB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6184, allocations: 0 / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6184, allocations: 7.984 kB / 1.036 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6184, allocations: 12.06 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6184, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.619, allocations: 463.4 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.6191, allocations: 108.9 kB / 1.036 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.6191, allocations: 8 kB / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.6193, allocations: 23.91 kB / 1.036 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.6194, allocations: 19.98 kB / 1.036 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6194, allocations: 4 kB / 1.036 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001124/0.6195, allocations: 139.1 kB / 1.036 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.513e-06/0.6195, allocations: 0 / 1.036 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004495/0.62, allocations: 91.69 kB / 1.036 GB, free: 1.664 MB / 0.7794 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.0008141/0.6208, allocations: 0.9929 MB / 1.037 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.6215, allocations: 389.4 kB / 1.038 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6215, allocations: 0 / 1.038 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.6217, allocations: 119.8 kB / 1.038 GB, free: 136 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.6222, allocations: 41.16 kB / 1.038 GB, free: 96 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.6253, allocations: 2.541 MB / 1.04 GB, free: 13.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.6256, allocations: 0.748 MB / 1.041 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.6258, allocations: 73.48 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.626, allocations: 51.41 kB / 1.041 GB, free: 12.51 MB / 0.795 GB Notification: Performance of SimCode: time 6.72e-07/0.626, allocations: 0 / 1.041 GB, free: 12.51 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.6397, allocations: 3.805 MB / 1.045 GB, free: 8.871 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.6399, allocations: 225.5 kB / 1.045 GB, free: 8.609 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.246, allocations: 0 / 1.045 GB, free: 8.609 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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