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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007416/0.007416, allocations: 97.34 kB / 15.73 MB, free: 6.023 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.002001/0.002001, allocations: 191.8 kB / 16.67 MB, free: 5.941 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 68.77 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 162.2 MB / 1.241 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005939/0.2817, allocations: 4.213 MB / 1.246 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.2863, allocations: 2.793 MB / 1.248 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.2866, allocations: 11.94 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2877, allocations: 374.3 kB / 1.249 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009347/0.2887, allocations: 410.2 kB / 1.249 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2898, allocations: 0.5137 MB / 1.25 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007507/0.2906, allocations: 0.6931 MB / 1.25 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.2911, allocations: 347.3 kB / 1.251 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.2914, allocations: 267 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.2919, allocations: 338.8 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.292, allocations: 40 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.2925, allocations: 343.2 kB / 1.252 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.2927, allocations: 191.5 kB / 1.252 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.293, allocations: 250.7 kB / 1.252 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.2938, allocations: 0.7432 MB / 1.253 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2938, allocations: 4 kB / 1.253 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2939, allocations: 0 / 1.253 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2939, allocations: 0 / 1.253 GB, free: 13.75 MB / 0.9825 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.001372/0.2952, allocations: 0.8293 MB / 1.253 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2953, allocations: 8.031 kB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.2954, allocations: 94.69 kB / 1.254 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.2967, allocations: 196.3 kB / 1.254 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.2972, allocations: 371.4 kB / 1.254 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.2973, allocations: 33.36 kB / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.2974, allocations: 44.36 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2987, allocations: 0.8447 MB / 1.255 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.2988, allocations: 3.938 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.2988, allocations: 20 kB / 1.255 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.463e-05/0.2989, allocations: 64.61 kB / 1.255 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3003, allocations: 0.6658 MB / 1.256 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.3046, allocations: 4.663 MB / 1.26 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3058, allocations: 0.5014 MB / 1.261 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.3063, allocations: 285.5 kB / 1.261 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.3064, allocations: 7.984 kB / 1.261 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3064, allocations: 38.56 kB / 1.261 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.3064, allocations: 0 / 1.261 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.00196/0.3084, allocations: 0.8864 MB / 1.262 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3084, allocations: 85.05 kB / 1.262 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.3089, allocations: 385.4 kB / 1.262 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.3089, allocations: 29.7 kB / 1.262 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3091, allocations: 295.9 kB / 1.263 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3093, allocations: 122.9 kB / 1.263 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.3095, allocations: 118.1 kB / 1.263 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3096, allocations: 350.7 kB / 1.263 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.3102, allocations: 270.9 kB / 1.264 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.311, allocations: 486.5 kB / 1.264 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3123, allocations: 0.7705 MB / 1.265 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3124, allocations: 4 kB / 1.265 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001596/0.314, allocations: 0.7861 MB / 1.266 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.314, allocations: 12.16 kB / 1.266 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.314, allocations: 8 kB / 1.266 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.314, allocations: 12.05 kB / 1.266 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.3148, allocations: 167.7 kB / 1.266 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.3148, allocations: 19.92 kB / 1.266 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.3154, allocations: 71.81 kB / 1.266 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.3155, allocations: 31.98 kB / 1.266 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006547/0.3161, allocations: 365 kB / 1.266 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006696/0.3168, allocations: 449.3 kB / 1.267 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001153/0.318, allocations: 0.6766 MB / 1.267 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.318, allocations: 4 kB / 1.267 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001412/0.3194, allocations: 0.6909 MB / 1.268 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3194, allocations: 8.156 kB / 1.268 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3194, allocations: 12 kB / 1.268 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3194, allocations: 15.94 kB / 1.268 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.3201, allocations: 147.8 kB / 1.268 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.3201, allocations: 19.92 kB / 1.268 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.3206, allocations: 63.84 kB / 1.268 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.3207, allocations: 28 kB / 1.268 GB, free: 12.7 MB / 0.9981 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.0001682/0.3208, allocations: 220 kB / 1.268 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3209, allocations: 43.72 kB / 1.268 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3222, allocations: 0.5766 MB / 1.269 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3222, allocations: 7.938 kB / 1.269 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3222, allocations: 0 / 1.269 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3222, allocations: 0 / 1.269 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.3248, allocations: 1.621 MB / 1.271 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3248, allocations: 4 kB / 1.271 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.3254, allocations: 111.8 kB / 1.271 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3254, allocations: 8 kB / 1.271 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.3254, allocations: 8 kB / 1.271 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.3255, allocations: 11.92 kB / 1.271 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3255, allocations: 4 kB / 1.271 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3266, allocations: 0.797 MB / 1.272 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3268, allocations: 164.8 kB / 1.272 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.3269, allocations: 11.95 kB / 1.272 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.3274, allocations: 51.92 kB / 1.272 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3275, allocations: 39.84 kB / 1.272 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3275, allocations: 12 kB / 1.272 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003713/0.3279, allocations: 271.1 kB / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3279, allocations: 0 / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008155/0.3287, allocations: 196 kB / 1.272 GB, free: 8.367 MB / 0.9981 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.00144/0.3302, allocations: 1.337 MB / 1.274 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.3321, allocations: 0.936 MB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3321, allocations: 4 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.3326, allocations: 272.6 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.3335, allocations: 127.3 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.3405, allocations: 4.851 MB / 1.28 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.341, allocations: 0.8709 MB / 1.28 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.3416, allocations: 208 kB / 1.281 GB, free: 15.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.3419, allocations: 147.4 kB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/0.3419, allocations: 0 / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3735, allocations: 10.31 MB / 1.291 GB, free: 5.043 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.314, allocations: 6.594 kB / 1.291 GB, free: 5.039 MB / 1.014 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 400 --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