Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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.004616/0.004616, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001095/0.001095, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.45/2.45, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.751, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005931/0.757, allocations: 4.207 MB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.7615, allocations: 2.801 MB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.7619, allocations: 11.94 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.7631, allocations: 369.6 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.7642, allocations: 414.2 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.7655, allocations: 0.5029 MB / 1.228 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.7664, allocations: 0.697 MB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.7669, allocations: 347 kB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.7674, allocations: 275 kB / 1.229 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.7679, allocations: 334.8 kB / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.079e-05/0.768, allocations: 39.94 kB / 1.229 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.7686, allocations: 343.2 kB / 1.23 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.7689, allocations: 183.5 kB / 1.23 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.7691, allocations: 258.7 kB / 1.23 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.7701, allocations: 0.7506 MB / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7701, allocations: 0 / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7701, allocations: 3.938 kB / 1.231 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.7701, allocations: 4 kB / 1.231 GB, free: 6.758 MB / 0.9512 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.001476/0.7716, allocations: 0.828 MB / 1.232 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7716, allocations: 8.625 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.997e-05/0.7718, allocations: 86.7 kB / 1.232 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.7731, allocations: 200.3 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.7737, allocations: 379.4 kB / 1.232 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.7737, allocations: 33.36 kB / 1.232 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.7738, allocations: 32.38 kB / 1.232 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.775, allocations: 0.8486 MB / 1.233 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.7751, allocations: 4 kB / 1.233 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.7751, allocations: 31.97 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-05/0.7752, allocations: 64.5 kB / 1.233 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7765, allocations: 0.6658 MB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.7804, allocations: 4.671 MB / 1.239 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.7815, allocations: 0.4975 MB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.782, allocations: 281.5 kB / 1.239 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.782, allocations: 4 kB / 1.239 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.7821, allocations: 38.56 kB / 1.239 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.7821, allocations: 0 / 1.239 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001838/0.7839, allocations: 0.8941 MB / 1.24 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.784, allocations: 85.09 kB / 1.24 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.7844, allocations: 369.6 kB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.7844, allocations: 37.64 kB / 1.241 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.7846, allocations: 295.9 kB / 1.241 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.7847, allocations: 130.9 kB / 1.241 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.7849, allocations: 114.1 kB / 1.241 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.785, allocations: 354.7 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.7856, allocations: 274.8 kB / 1.242 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.7862, allocations: 486.5 kB / 1.242 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.7875, allocations: 0.7693 MB / 1.243 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7875, allocations: 0 / 1.243 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001488/0.789, allocations: 0.7859 MB / 1.244 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.789, allocations: 8 kB / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.789, allocations: 8 kB / 1.244 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.7891, allocations: 12.03 kB / 1.244 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.7898, allocations: 167.7 kB / 1.244 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7898, allocations: 16.42 kB / 1.244 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.7904, allocations: 83.75 kB / 1.244 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.7905, allocations: 24 kB / 1.244 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005937/0.7911, allocations: 364.9 kB / 1.244 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005833/0.7917, allocations: 449.5 kB / 1.245 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001007/0.7927, allocations: 0.6909 MB / 1.246 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.7927, allocations: 0 / 1.246 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001305/0.794, allocations: 0.6869 MB / 1.246 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.794, allocations: 11.98 kB / 1.246 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.794, allocations: 8 kB / 1.246 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7941, allocations: 12 kB / 1.246 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.7946, allocations: 147.7 kB / 1.246 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.7947, allocations: 16.34 kB / 1.246 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.7952, allocations: 67.77 kB / 1.247 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.7953, allocations: 28 kB / 1.247 GB, free: 5.695 MB / 0.9669 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.0001696/0.7954, allocations: 216 kB / 1.247 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.7955, allocations: 47.7 kB / 1.247 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.7967, allocations: 0.5767 MB / 1.247 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.7967, allocations: 4 kB / 1.247 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7967, allocations: 0 / 1.247 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.7967, allocations: 3.984 kB / 1.247 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.7992, allocations: 1.617 MB / 1.249 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7992, allocations: 4 kB / 1.249 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.7997, allocations: 107.8 kB / 1.249 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7997, allocations: 4.469 kB / 1.249 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.7998, allocations: 12 kB / 1.249 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.7998, allocations: 8 kB / 1.249 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7998, allocations: 11.88 kB / 1.249 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.8008, allocations: 0.7955 MB / 1.25 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.8011, allocations: 164.7 kB / 1.25 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.8011, allocations: 19.94 kB / 1.25 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.8016, allocations: 47.92 kB / 1.25 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.8017, allocations: 39.84 kB / 1.25 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.8017, allocations: 16 kB / 1.25 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003436/0.8021, allocations: 267.1 kB / 1.25 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8021, allocations: 0 / 1.25 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008371/0.8029, allocations: 192 kB / 1.251 GB, free: 1.375 MB / 0.9669 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.001289/0.8042, allocations: 1.336 MB / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.806, allocations: 0.9405 MB / 1.253 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.806, allocations: 0 / 1.253 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.8065, allocations: 272 kB / 1.253 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.8073, allocations: 126.9 kB / 1.253 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.8138, allocations: 4.846 MB / 1.258 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.8142, allocations: 0.8709 MB / 1.259 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005486/0.8148, allocations: 204 kB / 1.259 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.8151, allocations: 151.4 kB / 1.259 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.8151, allocations: 0 / 1.259 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.8437, allocations: 10.32 MB / 1.269 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.561, allocations: 5.969 kB / 1.269 GB, free: 14.04 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches