Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ParallelLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_10_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.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.539/2.539, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5609, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006164/0.5671, allocations: 4.205 MB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004638/0.5717, allocations: 2.806 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.5721, allocations: 11.94 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5734, allocations: 369.9 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.5744, allocations: 418.2 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5757, allocations: 0.5029 MB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008698/0.5766, allocations: 0.6893 MB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005913/0.5772, allocations: 345.3 kB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.5776, allocations: 271 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.5783, allocations: 342.8 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.5784, allocations: 36 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.579, allocations: 347.2 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.5793, allocations: 199.4 kB / 1.028 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.5796, allocations: 250.7 kB / 1.028 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.5806, allocations: 0.7281 MB / 1.029 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5806, allocations: 0 / 1.029 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5806, allocations: 0 / 1.029 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.5807, allocations: 0 / 1.029 GB, free: 6.926 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001607/0.5823, allocations: 0.8107 MB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5823, allocations: 12.03 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.5825, allocations: 86.69 kB / 1.03 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.5839, allocations: 192 kB / 1.03 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.5844, allocations: 367 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.5844, allocations: 33.36 kB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.5845, allocations: 40.36 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5859, allocations: 0.8408 MB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.5859, allocations: 7.938 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.586, allocations: 20 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/0.5861, allocations: 60.61 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.5875, allocations: 0.6736 MB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.5917, allocations: 4.67 MB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.5929, allocations: 0.5048 MB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.5934, allocations: 285.5 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.5934, allocations: 4 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5935, allocations: 38.56 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.5935, allocations: 0 / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.00193/0.5954, allocations: 0.8773 MB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.5955, allocations: 81.11 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.5959, allocations: 377.5 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5959, allocations: 33.7 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.5961, allocations: 287 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5962, allocations: 126.2 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.5964, allocations: 110.1 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5965, allocations: 350.7 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.5971, allocations: 274.9 kB / 1.039 GB, free: 11.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.5978, allocations: 486.5 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5991, allocations: 0.7654 MB / 1.041 GB, free: 9.738 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5991, allocations: 4 kB / 1.041 GB, free: 9.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001519/0.6006, allocations: 0.782 MB / 1.041 GB, free: 8.945 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6007, allocations: 8 kB / 1.041 GB, free: 8.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.6007, allocations: 16.05 kB / 1.041 GB, free: 8.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.6007, allocations: 12 kB / 1.041 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.6015, allocations: 159.7 kB / 1.042 GB, free: 8.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.6015, allocations: 15.94 kB / 1.042 GB, free: 8.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.6021, allocations: 75.7 kB / 1.042 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.6021, allocations: 27.98 kB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006219/0.6028, allocations: 365 kB / 1.042 GB, free: 8.273 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000605/0.6034, allocations: 457.3 kB / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00106/0.6044, allocations: 0.6848 MB / 1.043 GB, free: 6.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.6045, allocations: 0 / 1.043 GB, free: 6.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001364/0.6058, allocations: 0.6915 MB / 1.044 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6059, allocations: 8 kB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6059, allocations: 12.06 kB / 1.044 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6059, allocations: 15.98 kB / 1.044 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.6065, allocations: 143.8 kB / 1.044 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.6065, allocations: 15.94 kB / 1.044 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.607, allocations: 63.78 kB / 1.044 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.6071, allocations: 24 kB / 1.044 GB, free: 5.945 MB / 0.795 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.000183/0.6073, allocations: 228 kB / 1.044 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6074, allocations: 43.44 kB / 1.044 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.6086, allocations: 0.5767 MB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6086, allocations: 4 kB / 1.045 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6086, allocations: 0 / 1.045 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6086, allocations: 3.984 kB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.6112, allocations: 1.619 MB / 1.047 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.6112, allocations: 4 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.6118, allocations: 107.8 kB / 1.047 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.6118, allocations: 8 kB / 1.047 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6118, allocations: 12.09 kB / 1.047 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.6118, allocations: 7.938 kB / 1.047 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6118, allocations: 4 kB / 1.047 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6129, allocations: 0.7957 MB / 1.047 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.6131, allocations: 160.5 kB / 1.048 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.6132, allocations: 16 kB / 1.048 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.6137, allocations: 51.92 kB / 1.048 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.6138, allocations: 35.84 kB / 1.048 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.6139, allocations: 16 kB / 1.048 GB, free: 2.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003579/0.6142, allocations: 267.1 kB / 1.048 GB, free: 1.812 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6142, allocations: 0 / 1.048 GB, free: 1.812 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008486/0.6151, allocations: 192 kB / 1.048 GB, free: 1.625 MB / 0.795 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.001369/0.6165, allocations: 1.342 MB / 1.049 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.6183, allocations: 0.9594 MB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6183, allocations: 4 kB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.6189, allocations: 272.5 kB / 1.051 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.6197, allocations: 129.9 kB / 1.051 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.6263, allocations: 4.872 MB / 1.056 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.6268, allocations: 0.8709 MB / 1.056 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006204/0.6274, allocations: 208 kB / 1.057 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.6277, allocations: 143.4 kB / 1.057 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.6277, allocations: 0 / 1.057 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.6567, allocations: 10.17 MB / 1.067 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/8.064, allocations: 19.45 kB / 1.067 GB, free: 14.35 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_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_ParallelLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches