Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.0007601/0.00076, 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.004531/0.004531, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5041, allocations: 142.4 MB / 0.9552 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.00352/0.5077, allocations: 3.856 MB / 0.9589 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.5111, allocations: 2.781 MB / 0.9617 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.5114, allocations: 9.438 kB / 0.9617 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.5116, allocations: 62.36 kB / 0.9617 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.5125, allocations: 387 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.5135, allocations: 486.5 kB / 0.9626 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009122/0.5144, allocations: 0.9872 MB / 0.9635 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007215/0.5151, allocations: 0.5445 MB / 0.9641 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.5155, allocations: 209.8 kB / 0.9643 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004903/0.516, allocations: 334.6 kB / 0.9646 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.516, allocations: 17.88 kB / 0.9646 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.5166, allocations: 416.6 kB / 0.965 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.5168, allocations: 175.2 kB / 0.9652 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.517, allocations: 249.2 kB / 0.9654 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.5178, allocations: 0.736 MB / 0.9661 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5178, allocations: 0.7188 kB / 0.9661 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5178, allocations: 0 / 0.9661 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.5178, allocations: 1 kB / 0.9661 GB, free: 15.81 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001066/0.5189, allocations: 0.7295 MB / 0.9668 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5189, allocations: 9.438 kB / 0.9668 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.519, allocations: 91.91 kB / 0.9669 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5202, allocations: 193.5 kB / 0.9671 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5206, allocations: 352.3 kB / 0.9674 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.5206, allocations: 34.17 kB / 0.9675 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/0.5207, allocations: 43.14 kB / 0.9675 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5219, allocations: 0.8501 MB / 0.9683 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.522, allocations: 10.03 kB / 0.9684 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.522, allocations: 23.27 kB / 0.9684 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/0.5221, allocations: 68.5 kB / 0.9684 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.5233, allocations: 0.688 MB / 0.9691 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.5268, allocations: 4.659 MB / 0.9737 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.5278, allocations: 0.5176 MB / 0.9742 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.5283, allocations: 297 kB / 0.9745 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5283, allocations: 11.23 kB / 0.9745 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5283, allocations: 37.22 kB / 0.9745 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.5284, allocations: 0 / 0.9745 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.001716/0.5301, allocations: 0.9139 MB / 0.9754 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.5301, allocations: 85.33 kB / 0.9755 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.5305, allocations: 370.9 kB / 0.9758 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.5305, allocations: 31.02 kB / 0.9759 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5307, allocations: 287.3 kB / 0.9761 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.5308, allocations: 122.4 kB / 0.9762 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.5309, allocations: 49.94 kB / 0.9763 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.531, allocations: 356 kB / 0.9766 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.5315, allocations: 270.1 kB / 0.9769 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.5321, allocations: 497.8 kB / 0.9774 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5333, allocations: 0.7844 MB / 0.9781 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5333, allocations: 2.406 kB / 0.9781 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001393/0.5347, allocations: 0.8129 MB / 0.9789 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.5348, allocations: 295.1 kB / 0.9792 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5348, allocations: 7.656 kB / 0.9792 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5349, allocations: 14.84 kB / 0.9792 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.5355, allocations: 170.4 kB / 0.9794 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.5356, allocations: 14.28 kB / 0.9794 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.5361, allocations: 88.66 kB / 0.9795 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.5362, allocations: 29.47 kB / 0.9795 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.5362, allocations: 4.125 kB / 0.9795 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.5373, allocations: 0.6355 MB / 0.9801 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5373, allocations: 10 kB / 0.9802 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.5373, allocations: 10.41 kB / 0.9802 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.5379, allocations: 153.1 kB / 0.9803 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5379, allocations: 11.94 kB / 0.9803 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.5383, allocations: 75.62 kB / 0.9804 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.5383, allocations: 28 kB / 0.9804 GB, free: 4.621 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002141/0.5386, allocations: 284.8 kB / 0.9807 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.5387, allocations: 39.53 kB / 0.9807 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5397, allocations: 0.603 MB / 0.9813 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5398, allocations: 8 kB / 0.9813 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5398, allocations: 0 / 0.9813 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5398, allocations: 4 kB / 0.9813 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.542, allocations: 1.627 MB / 0.9829 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.542, allocations: 7.938 kB / 0.9829 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.5425, allocations: 124.3 kB / 0.983 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5425, allocations: 4 kB / 0.983 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.5425, allocations: 12 kB / 0.9831 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5425, allocations: 7.938 kB / 0.9831 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5426, allocations: 4 kB / 0.9831 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.5435, allocations: 0.8118 MB / 0.9839 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5437, allocations: 172.5 kB / 0.984 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.5437, allocations: 12 kB / 0.984 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.5442, allocations: 55.92 kB / 0.9841 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5443, allocations: 35.84 kB / 0.9841 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.5443, allocations: 16 kB / 0.9841 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002963/0.5446, allocations: 267.1 kB / 0.9844 GB, free: 352 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5446, allocations: 0 / 0.9844 GB, free: 352 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007241/0.5453, allocations: 196 kB / 0.9846 GB, free: 156 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.001177/0.5465, allocations: 1.362 MB / 0.9859 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.5481, allocations: 0.9553 MB / 0.9868 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5481, allocations: 4 kB / 0.9868 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.5485, allocations: 276.8 kB / 0.9871 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.5494, allocations: 118.2 kB / 0.9872 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.5553, allocations: 5.131 MB / 0.9922 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5557, allocations: 0.8709 MB / 0.9931 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005495/0.5562, allocations: 208 kB / 0.9933 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.5565, allocations: 143.4 kB / 0.9934 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.5565, allocations: 3.938 kB / 0.9934 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.046/2.602, allocations: 9.557 MB / 1.003 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/2.603, allocations: 216.3 kB / 1.003 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/4.581, allocations: 0 / 1.003 GB, free: 13.02 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches