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.006973/0.006973, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001393/0.001392, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.43/2.43, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.84 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.787, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004383/0.7914, allocations: 3.079 MB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.7943, allocations: 1.913 MB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.7945, allocations: 4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.7956, allocations: 287.9 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.7962, allocations: 199.1 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.797, allocations: 248.5 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.7974, allocations: 322.9 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.7978, allocations: 179.2 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.798, allocations: 127.6 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.7983, allocations: 155.3 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.7984, allocations: 20 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006585/0.7991, allocations: 399.2 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.7992, allocations: 87.78 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.7994, allocations: 115.4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.8002, allocations: 494.6 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8002, allocations: 0 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8002, allocations: 0 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8002, allocations: 8 kB / 1.174 GB, free: 12.17 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.0009783/0.8012, allocations: 0.5536 MB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8013, allocations: 12.92 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.8013, allocations: 54.73 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008535/0.8022, allocations: 116.5 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.8026, allocations: 280.8 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.8026, allocations: 16.81 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.8026, allocations: 20.36 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.8032, allocations: 349.3 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.8032, allocations: 11.98 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.8032, allocations: 7.984 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.8033, allocations: 28.42 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.8037, allocations: 289.5 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.8058, allocations: 1.729 MB / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.8063, allocations: 322.1 kB / 1.177 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8064, allocations: 109.6 kB / 1.177 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.8065, allocations: 89.09 kB / 1.177 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.8066, allocations: 30.66 kB / 1.177 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.8066, allocations: 7.938 kB / 1.177 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002438/0.809, allocations: 0.9651 MB / 1.178 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.8091, allocations: 89.03 kB / 1.178 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.8093, allocations: 211.8 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.8093, allocations: 29.7 kB / 1.179 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.8094, allocations: 168.1 kB / 1.179 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.8095, allocations: 86.83 kB / 1.179 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.8096, allocations: 61.61 kB / 1.179 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8097, allocations: 330.8 kB / 1.179 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.8099, allocations: 127.9 kB / 1.179 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.8102, allocations: 222.3 kB / 1.18 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.8106, allocations: 361.8 kB / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8106, allocations: 4 kB / 1.18 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000877/0.8115, allocations: 0.507 MB / 1.18 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8116, allocations: 4 kB / 1.18 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8116, allocations: 4 kB / 1.18 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.8121, allocations: 155.6 kB / 1.181 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.8124, allocations: 55.91 kB / 1.181 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.8153, allocations: 4.194 MB / 1.185 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.8155, allocations: 15.98 kB / 1.185 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.8156, allocations: 12 kB / 1.185 GB, free: 15.74 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.0002001/0.8158, allocations: 169.8 kB / 1.185 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.8159, allocations: 15.81 kB / 1.185 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.8167, allocations: 486.3 kB / 1.185 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8167, allocations: 4 kB / 1.185 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8168, allocations: 3.984 kB / 1.185 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8168, allocations: 0 / 1.185 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.8183, allocations: 0.9959 MB / 1.186 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8183, allocations: 4 kB / 1.186 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.8185, allocations: 35.91 kB / 1.186 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.8189, allocations: 143.6 kB / 1.187 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.8189, allocations: 8 kB / 1.187 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/0.8216, allocations: 4.159 MB / 1.191 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8216, allocations: 8.016 kB / 1.191 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.8224, allocations: 0.6198 MB / 1.191 GB, free: 8.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.8226, allocations: 128.7 kB / 1.191 GB, free: 8.441 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.8226, allocations: 11.98 kB / 1.191 GB, free: 8.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.8229, allocations: 23.98 kB / 1.191 GB, free: 8.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.8229, allocations: 27.84 kB / 1.191 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.8229, allocations: 8 kB / 1.191 GB, free: 8.371 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001418/0.8231, allocations: 156.2 kB / 1.192 GB, free: 8.219 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8231, allocations: 0 / 1.192 GB, free: 8.219 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005405/0.8236, allocations: 87.98 kB / 1.192 GB, free: 8.133 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.001106/0.8248, allocations: 1.206 MB / 1.193 GB, free: 6.863 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009468/0.8257, allocations: 0.5751 MB / 1.193 GB, free: 6.262 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.8257, allocations: 7.938 kB / 1.193 GB, free: 6.254 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.8263, allocations: 400.3 kB / 1.194 GB, free: 5.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.8268, allocations: 43.75 kB / 1.194 GB, free: 5.797 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.8312, allocations: 3.326 MB / 1.197 GB, free: 2.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.8315, allocations: 0.7829 MB / 1.198 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.8317, allocations: 62.19 kB / 1.198 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.8319, allocations: 71.41 kB / 1.198 GB, free: 1.332 MB / 0.92 GB Notification: Performance of SimCode: time 5.72e-07/0.8319, allocations: 0 / 1.198 GB, free: 1.332 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.8614, allocations: 6.706 MB / 1.205 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.85, allocations: 18.56 kB / 1.205 GB, free: 10.76 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 & /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