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.001355/0.001355, allocations: 108 kB / 15.6 MB, free: 128 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.002326/0.002327, allocations: 196.9 kB / 16.53 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.557/2.557, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6212, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004662/0.6259, allocations: 3.063 MB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.6296, allocations: 1.913 MB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.6298, allocations: 7.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009329/0.6308, allocations: 290.9 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.6313, allocations: 191.1 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.6322, allocations: 247.1 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.6327, allocations: 326.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.6332, allocations: 187.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.6335, allocations: 127.6 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.6338, allocations: 155.4 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.6339, allocations: 20 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.6345, allocations: 407.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.6347, allocations: 87.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.6348, allocations: 119.4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.6355, allocations: 486.6 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6355, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6355, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.6355, allocations: 0 / 1.025 GB, free: 10.87 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009358/0.6365, allocations: 0.5575 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6365, allocations: 12.03 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.6366, allocations: 62.72 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008385/0.6374, allocations: 108.5 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.6378, allocations: 259.7 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6378, allocations: 12.81 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.6378, allocations: 28.31 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.6384, allocations: 361.3 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6384, allocations: 3.984 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.6384, allocations: 7.938 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.6385, allocations: 32.36 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.6389, allocations: 289.5 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.6409, allocations: 1.733 MB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.6415, allocations: 324.5 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.6418, allocations: 113.6 kB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.6419, allocations: 89.09 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.642, allocations: 34.5 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.642, allocations: 0 / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002456/0.6444, allocations: 0.9512 MB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.6445, allocations: 85.05 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.6447, allocations: 212.7 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.6447, allocations: 33.73 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.6448, allocations: 172.1 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.6449, allocations: 86.78 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.645, allocations: 57.61 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.6451, allocations: 330.8 kB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.6453, allocations: 131.9 kB / 1.031 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.6455, allocations: 214.5 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.646, allocations: 362.3 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.646, allocations: 0 / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008752/0.6469, allocations: 0.5107 MB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6469, allocations: 7.984 kB / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6469, allocations: 4 kB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.6475, allocations: 151.6 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.6477, allocations: 59.91 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.6507, allocations: 4.19 MB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.6509, allocations: 28.12 kB / 1.036 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.651, allocations: 8 kB / 1.036 GB, free: 14.46 MB / 0.795 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.0001682/0.6511, allocations: 169.7 kB / 1.036 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.6512, allocations: 19.72 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.6521, allocations: 478.5 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6521, allocations: 4 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6521, allocations: 0 / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6521, allocations: 3.984 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.6536, allocations: 1.021 MB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6537, allocations: 7.938 kB / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.6538, allocations: 35.91 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.6542, allocations: 139.4 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.6542, allocations: 12 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.6571, allocations: 4.179 MB / 1.042 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6571, allocations: 0 / 1.042 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.6579, allocations: 0.6232 MB / 1.043 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6581, allocations: 124.8 kB / 1.043 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.6581, allocations: 8 kB / 1.043 GB, free: 7.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.6584, allocations: 24.03 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.6584, allocations: 27.95 kB / 1.043 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6585, allocations: 8 kB / 1.043 GB, free: 7.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001453/0.6586, allocations: 160.5 kB / 1.043 GB, free: 6.902 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6586, allocations: 0 / 1.043 GB, free: 6.902 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005173/0.6591, allocations: 84 kB / 1.043 GB, free: 6.82 MB / 0.795 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.001205/0.6604, allocations: 1.214 MB / 1.044 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009803/0.6613, allocations: 0.5965 MB / 1.045 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6614, allocations: 0.625 kB / 1.045 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.6619, allocations: 397.3 kB / 1.045 GB, free: 4.512 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.6624, allocations: 47.89 kB / 1.045 GB, free: 4.465 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.6669, allocations: 3.31 MB / 1.048 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.6673, allocations: 0.787 MB / 1.049 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.6676, allocations: 62.17 kB / 1.049 GB, free: 60 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.6677, allocations: 67.42 kB / 1.049 GB, free: 16 MB / 0.8106 GB Notification: Performance of SimCode: time 6.02e-07/0.6677, allocations: 8 kB / 1.049 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.6955, allocations: 6.605 MB / 1.056 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/14.99, allocations: 13.34 kB / 1.056 GB, free: 9.512 MB / 0.8106 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=50 --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