Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00121/0.00121, allocations: 192.8 kB / 16.13 MB, free: 6.652 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7755, allocations: 140.4 MB / 0.949 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004277/0.7799, allocations: 3.116 MB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003103/0.783, allocations: 1.921 MB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.7832, allocations: 3.969 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.7843, allocations: 267.6 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.7849, allocations: 187.1 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.7858, allocations: 213 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.7865, allocations: 447.9 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.7869, allocations: 167.6 kB / 0.9552 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.7872, allocations: 112.9 kB / 0.9553 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.7875, allocations: 163.5 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.7875, allocations: 13.31 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.7883, allocations: 481.2 kB / 0.9559 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.7884, allocations: 76.52 kB / 0.956 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.7886, allocations: 115.5 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.7892, allocations: 497.2 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7892, allocations: 1.375 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7892, allocations: 0 / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7892, allocations: 0 / 0.9566 GB, free: 3.734 MB / 0.7169 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.0009721/0.7902, allocations: 0.5642 MB / 0.9571 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.7902, allocations: 12.97 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.7903, allocations: 63.78 kB / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.7913, allocations: 109.1 kB / 0.9573 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.7916, allocations: 258.2 kB / 0.9576 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.7916, allocations: 17.92 kB / 0.9576 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.7917, allocations: 16.59 kB / 0.9576 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.7922, allocations: 358.5 kB / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7922, allocations: 0 / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.7922, allocations: 10.22 kB / 0.9579 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.7923, allocations: 22.42 kB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.7927, allocations: 297.4 kB / 0.9582 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.7945, allocations: 1.738 MB / 0.9599 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.795, allocations: 334.8 kB / 0.9603 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.7951, allocations: 101.3 kB / 0.9604 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.7952, allocations: 95.23 kB / 0.9605 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7952, allocations: 31.78 kB / 0.9605 GB, free: 352 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.7953, allocations: 0 / 0.9605 GB, free: 352 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.00243/0.7977, allocations: 0.9694 MB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.7978, allocations: 83.48 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.798, allocations: 215 kB / 0.9617 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.798, allocations: 35.05 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.7982, allocations: 168.8 kB / 0.9619 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.7982, allocations: 77.7 kB / 0.962 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.7983, allocations: 65.47 kB / 0.962 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7985, allocations: 332.1 kB / 0.9624 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.7987, allocations: 131.6 kB / 0.9625 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.799, allocations: 217.1 kB / 0.9627 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.7995, allocations: 364.3 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7995, allocations: 1.062 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009183/0.8004, allocations: 0.5098 MB / 0.9635 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.8004, allocations: 8.031 kB / 0.9635 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8005, allocations: 2.75 kB / 0.9635 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.801, allocations: 154.4 kB / 0.9637 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.8013, allocations: 60.97 kB / 0.9638 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.8042, allocations: 3.962 MB / 0.9676 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.8044, allocations: 16.55 kB / 0.9676 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.8044, allocations: 17.83 kB / 0.9677 GB, free: 10 MB / 0.7325 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.0002019/0.8046, allocations: 159.8 kB / 0.9678 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.8047, allocations: 21.72 kB / 0.9678 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.8056, allocations: 486.5 kB / 0.9683 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8057, allocations: 2.281 kB / 0.9683 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8057, allocations: 1.969 kB / 0.9683 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8057, allocations: 3.938 kB / 0.9683 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.8073, allocations: 1.005 MB / 0.9693 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8073, allocations: 2.188 kB / 0.9693 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.8075, allocations: 33.14 kB / 0.9693 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.808, allocations: 152.4 kB / 0.9695 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.808, allocations: 12.31 kB / 0.9695 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.8107, allocations: 3.942 MB / 0.9733 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8107, allocations: 6.641 kB / 0.9733 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.8115, allocations: 0.6254 MB / 0.9739 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.8117, allocations: 130.3 kB / 0.9741 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.8117, allocations: 8.031 kB / 0.9741 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.812, allocations: 17.45 kB / 0.9741 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.812, allocations: 26.69 kB / 0.9741 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.8121, allocations: 9.031 kB / 0.9741 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000159/0.8122, allocations: 166 kB / 0.9743 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.094e-06/0.8122, allocations: 0 / 0.9743 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005651/0.8128, allocations: 89.84 kB / 0.9744 GB, free: 3.906 MB / 0.7325 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.00129/0.8141, allocations: 1.199 MB / 0.9755 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.8151, allocations: 0.5787 MB / 0.9761 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8152, allocations: 0 / 0.9761 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.8157, allocations: 394.7 kB / 0.9765 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.8163, allocations: 40.47 kB / 0.9765 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.8208, allocations: 3.435 MB / 0.9799 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.8213, allocations: 0.7788 MB / 0.9806 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.8215, allocations: 66.52 kB / 0.9807 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.8216, allocations: 68.73 kB / 0.9808 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of SimCode: time 4.9e-07/0.8216, allocations: 0 / 0.9808 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.8428, allocations: 6.365 MB / 0.987 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.843, allocations: 236.5 kB / 0.9872 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.66, allocations: 0 / 0.9872 GB, free: 9.555 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches