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.007197/0.007197, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001597/0.001597, allocations: 189 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.399/2.399, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.756, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004762/0.7608, allocations: 3.077 MB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.7636, allocations: 1.909 MB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.7637, allocations: 7.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.7647, allocations: 278.9 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.7651, allocations: 199.1 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.7657, allocations: 245 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.7661, allocations: 322.9 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.7664, allocations: 181 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.7666, allocations: 135.5 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.7669, allocations: 147.5 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.767, allocations: 24 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.7675, allocations: 403.2 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.7676, allocations: 83.8 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.7678, allocations: 127.3 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.7684, allocations: 482.1 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7684, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.839e-06/0.7684, allocations: 3.938 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.7685, allocations: 3.938 kB / 1.174 GB, free: 12.14 MB / 0.9044 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.0009474/0.7694, allocations: 0.5686 MB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.7695, allocations: 12.86 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.7695, allocations: 58.72 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.7704, allocations: 112.6 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.7707, allocations: 270.7 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.7708, allocations: 20.8 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7708, allocations: 24.36 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.7713, allocations: 353.2 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7714, allocations: 0 / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.7714, allocations: 8 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.7714, allocations: 28.41 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.7719, allocations: 297.5 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.7738, allocations: 1.73 MB / 1.177 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.7743, allocations: 322.1 kB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7744, allocations: 113.6 kB / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.7745, allocations: 81.11 kB / 1.177 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7746, allocations: 42.55 kB / 1.177 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.7746, allocations: 0 / 1.177 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002337/0.7769, allocations: 0.9689 MB / 1.178 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.777, allocations: 88.98 kB / 1.178 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.7772, allocations: 211.8 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.7772, allocations: 25.7 kB / 1.179 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.7773, allocations: 176.4 kB / 1.179 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.7774, allocations: 95.28 kB / 1.179 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.7775, allocations: 57.7 kB / 1.179 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7776, allocations: 330.8 kB / 1.179 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.7778, allocations: 127.9 kB / 1.179 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7782, allocations: 222.3 kB / 1.18 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.7788, allocations: 359.4 kB / 1.18 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7788, allocations: 0 / 1.18 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008407/0.7796, allocations: 0.5228 MB / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7796, allocations: 4 kB / 1.181 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7797, allocations: 4 kB / 1.181 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.7802, allocations: 151.4 kB / 1.181 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.7805, allocations: 59.91 kB / 1.181 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.7834, allocations: 4.19 MB / 1.185 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.7836, allocations: 24 kB / 1.185 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.7836, allocations: 11.94 kB / 1.185 GB, free: 15.68 MB / 0.92 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.0001544/0.7838, allocations: 169.7 kB / 1.185 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.7838, allocations: 19.86 kB / 1.185 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.7847, allocations: 478.6 kB / 1.185 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7847, allocations: 4 kB / 1.185 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7847, allocations: 0 / 1.185 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7847, allocations: 3.984 kB / 1.185 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.7862, allocations: 1.004 MB / 1.186 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7862, allocations: 0 / 1.186 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.7864, allocations: 35.98 kB / 1.187 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.7868, allocations: 143.3 kB / 1.187 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.7868, allocations: 16.19 kB / 1.187 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.7894, allocations: 4.159 MB / 1.191 GB, free: 9.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7894, allocations: 7.938 kB / 1.191 GB, free: 9.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.7902, allocations: 0.6225 MB / 1.191 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7903, allocations: 128.9 kB / 1.191 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.7904, allocations: 8 kB / 1.191 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.7906, allocations: 19.97 kB / 1.191 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.7907, allocations: 23.98 kB / 1.192 GB, free: 8.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.7907, allocations: 8 kB / 1.192 GB, free: 8.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001314/0.7908, allocations: 156.2 kB / 1.192 GB, free: 8.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7908, allocations: 0 / 1.192 GB, free: 8.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004957/0.7913, allocations: 87.94 kB / 1.192 GB, free: 8.074 MB / 0.92 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.001072/0.7924, allocations: 1.212 MB / 1.193 GB, free: 6.797 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008832/0.7933, allocations: 0.5927 MB / 1.194 GB, free: 6.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7933, allocations: 0 / 1.194 GB, free: 6.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.7938, allocations: 394.1 kB / 1.194 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.7943, allocations: 49.44 kB / 1.194 GB, free: 5.723 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.7982, allocations: 3.328 MB / 1.197 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.7986, allocations: 0.779 MB / 1.198 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.7987, allocations: 58.25 kB / 1.198 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.7989, allocations: 71.41 kB / 1.198 GB, free: 1.254 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.7989, allocations: 0 / 1.198 GB, free: 1.254 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.8266, allocations: 6.709 MB / 1.205 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.36, allocations: 14.5 kB / 1.205 GB, free: 10.69 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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