Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_9_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.0008827/0.0008827, allocations: 98.27 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.005302/0.005302, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6264, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002778/0.6292, allocations: 2.334 MB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.6311, allocations: 1.301 MB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.6313, allocations: 2.656 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.6314, allocations: 27.59 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.6319, allocations: 154.1 kB / 0.9589 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.6324, allocations: 161.7 kB / 0.9591 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.6328, allocations: 370.5 kB / 0.9594 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.6333, allocations: 312.8 kB / 0.9597 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.6335, allocations: 81.2 kB / 0.9598 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.6338, allocations: 117.7 kB / 0.9599 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.6338, allocations: 7.531 kB / 0.9599 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.6341, allocations: 184.4 kB / 0.9601 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.6342, allocations: 66.48 kB / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.6343, allocations: 101.1 kB / 0.9602 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.6346, allocations: 299.3 kB / 0.9605 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6347, allocations: 0 / 0.9605 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6347, allocations: 0 / 0.9605 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.6347, allocations: 1.375 kB / 0.9605 GB, free: 3.66 MB / 0.7169 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.0006171/0.6353, allocations: 472.7 kB / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6353, allocations: 13.62 kB / 0.961 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.6354, allocations: 53.61 kB / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.6359, allocations: 66.55 kB / 0.9611 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.6361, allocations: 240.3 kB / 0.9613 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.6361, allocations: 10.75 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.6362, allocations: 17.08 kB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.6367, allocations: 321.6 kB / 0.9617 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6367, allocations: 0 / 0.9617 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.6367, allocations: 10.48 kB / 0.9617 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.6368, allocations: 26.95 kB / 0.9617 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.6373, allocations: 276.3 kB / 0.962 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.6387, allocations: 1.502 MB / 0.9634 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.6392, allocations: 265 kB / 0.9637 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.6394, allocations: 144 kB / 0.9638 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.6394, allocations: 1.062 kB / 0.9638 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.6395, allocations: 32.84 kB / 0.9639 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.6395, allocations: 0 / 0.9639 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.00076/0.6402, allocations: 362 kB / 0.9642 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6403, allocations: 78.42 kB / 0.9643 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.6404, allocations: 181.3 kB / 0.9644 GB, free: 352 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.6405, allocations: 27.23 kB / 0.9645 GB, free: 320 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.6405, allocations: 153.1 kB / 0.9646 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.6406, allocations: 46.39 kB / 0.9647 GB, free: 132 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.6406, allocations: 19.47 kB / 0.9647 GB, free: 112 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6408, allocations: 335 kB / 0.965 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.641, allocations: 104.2 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.6413, allocations: 178.5 kB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.6418, allocations: 291.7 kB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6418, allocations: 1.125 kB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005714/0.6424, allocations: 320.2 kB / 0.9659 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.6426, allocations: 138.2 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6426, allocations: 2.062 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6426, allocations: 4.031 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.6429, allocations: 60.58 kB / 0.966 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.6429, allocations: 2.625 kB / 0.966 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.6431, allocations: 43.84 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6432, allocations: 14.59 kB / 0.9661 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.6432, allocations: 5.969 kB / 0.9661 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004835/0.6437, allocations: 248 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.6437, allocations: 0.9688 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.6437, allocations: 3.812 kB / 0.9664 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.6439, allocations: 51.16 kB / 0.9664 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.6439, allocations: 6.734 kB / 0.9664 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.6441, allocations: 29.02 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.6441, allocations: 7.5 kB / 0.9664 GB, free: 14.89 MB / 0.7325 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.0001684/0.6443, allocations: 226.9 kB / 0.9667 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.6443, allocations: 19.55 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.6449, allocations: 275.4 kB / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6449, allocations: 2.031 kB / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.645, allocations: 4.969 kB / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.645, allocations: 0 / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.6461, allocations: 0.6927 MB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6461, allocations: 13 kB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6463, allocations: 49.83 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6463, allocations: 2.031 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6463, allocations: 6 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.6464, allocations: 10.92 kB / 0.9677 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6464, allocations: 1 kB / 0.9677 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.647, allocations: 463 kB / 0.9681 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6471, allocations: 111.7 kB / 0.9682 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.6471, allocations: 6.75 kB / 0.9683 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6474, allocations: 23.78 kB / 0.9683 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.6474, allocations: 14.3 kB / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.6474, allocations: 9.031 kB / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001464/0.6476, allocations: 139.5 kB / 0.9684 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6476, allocations: 0 / 0.9684 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004888/0.6481, allocations: 85.34 kB / 0.9685 GB, free: 13.28 MB / 0.7325 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.0009086/0.649, allocations: 0.9857 MB / 0.9695 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.6498, allocations: 392.1 kB / 0.9699 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6498, allocations: 5.406 kB / 0.9699 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.6501, allocations: 126.8 kB / 0.97 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.6506, allocations: 43.89 kB / 0.97 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.6539, allocations: 2.53 MB / 0.9725 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.6543, allocations: 0.7439 MB / 0.9732 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.6546, allocations: 75.16 kB / 0.9733 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6547, allocations: 52.62 kB / 0.9733 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.6547, allocations: 0 / 0.9733 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.6712, allocations: 3.789 MB / 0.977 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.6715, allocations: 215.1 kB / 0.9772 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.378, allocations: 0 / 0.9772 GB, free: 7.262 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches