Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001362/0.001362, allocations: 108.6 kB / 15.73 MB, free: 72 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.001338/0.001339, allocations: 187.1 kB / 16.66 MB, free: 6.602 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.42/2.42, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 64.08 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2553, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004475/0.2598, allocations: 3.073 MB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.2626, allocations: 1.917 MB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.2627, allocations: 4 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.2636, allocations: 282.9 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.264, allocations: 187.1 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.2646, allocations: 255.2 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.2649, allocations: 311 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.2652, allocations: 192.8 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2654, allocations: 131.5 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.2657, allocations: 155.4 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.2657, allocations: 20 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.2663, allocations: 399.2 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2664, allocations: 91.72 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2666, allocations: 119.4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.2672, allocations: 490.3 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2672, allocations: 0 / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2672, allocations: 0 / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2672, allocations: 4 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008199/0.268, allocations: 0.5724 MB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2681, allocations: 8.031 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/0.2681, allocations: 54.73 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.2689, allocations: 108.6 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2692, allocations: 275.8 kB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2692, allocations: 16.81 kB / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.2693, allocations: 16.38 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.2698, allocations: 357 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2698, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.2698, allocations: 11.98 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.2699, allocations: 24.42 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.2703, allocations: 289.5 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.2724, allocations: 1.737 MB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.2729, allocations: 322.1 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2731, allocations: 109.6 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.2732, allocations: 81.11 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2732, allocations: 42.55 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2732, allocations: 4 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002346/0.2756, allocations: 0.9743 MB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2757, allocations: 85.05 kB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.2759, allocations: 215.8 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2759, allocations: 25.7 kB / 1.179 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.276, allocations: 180.4 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.2761, allocations: 83.34 kB / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2762, allocations: 57.7 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2764, allocations: 330.8 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2766, allocations: 131.9 kB / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.2768, allocations: 214.4 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.2773, allocations: 363.3 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2773, allocations: 0 / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008427/0.2782, allocations: 0.5095 MB / 1.181 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2782, allocations: 4 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2782, allocations: 4 kB / 1.181 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.2787, allocations: 155.7 kB / 1.181 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.279, allocations: 63.84 kB / 1.181 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.2822, allocations: 4.198 MB / 1.185 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2824, allocations: 24 kB / 1.185 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2824, allocations: 8 kB / 1.185 GB, free: 3.25 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.2826, allocations: 181.7 kB / 1.185 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2827, allocations: 19.86 kB / 1.185 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/0.2835, allocations: 479.8 kB / 1.186 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2836, allocations: 4 kB / 1.186 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2836, allocations: 0 / 1.186 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2836, allocations: 3.984 kB / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2851, allocations: 0.9977 MB / 1.186 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2851, allocations: 0 / 1.186 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2853, allocations: 39.92 kB / 1.187 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.2856, allocations: 147.5 kB / 1.187 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.2857, allocations: 8 kB / 1.187 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.2887, allocations: 4.151 MB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2887, allocations: 4 kB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/0.2895, allocations: 0.6264 MB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.2896, allocations: 128.9 kB / 1.191 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2897, allocations: 8 kB / 1.191 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2899, allocations: 23.97 kB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2899, allocations: 27.95 kB / 1.192 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.29, allocations: 8 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001461/0.2901, allocations: 156.2 kB / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004773/0.2906, allocations: 91.88 kB / 1.192 GB, free: 11.64 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.2917, allocations: 1.199 MB / 1.193 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009167/0.2927, allocations: 0.5906 MB / 1.194 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.2927, allocations: 0 / 1.194 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.2932, allocations: 402.1 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.2937, allocations: 42.11 kB / 1.194 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.2977, allocations: 3.324 MB / 1.197 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.2981, allocations: 0.7829 MB / 1.198 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.2983, allocations: 54.25 kB / 1.198 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2984, allocations: 75.34 kB / 1.198 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.2984, allocations: 0 / 1.198 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.817/2.115, allocations: 6.724 MB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/21.37, allocations: 19.72 kB / 1.205 GB, free: 14.25 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches