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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008208/0.008208, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001979/0.001979, allocations: 196.5 kB / 16.68 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.134/2.134, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 55.91 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7981, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004528/0.8027, allocations: 3.081 MB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003049/0.8058, allocations: 1.901 MB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.806, allocations: 4.75 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.807, allocations: 274.5 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.8075, allocations: 202.7 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.8083, allocations: 241.2 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.8088, allocations: 325.3 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.8092, allocations: 190.1 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.8094, allocations: 132 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.8097, allocations: 144.2 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.8098, allocations: 20.38 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.8105, allocations: 406.6 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.8106, allocations: 92.36 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.8107, allocations: 116 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.8116, allocations: 498 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8116, allocations: 0.5938 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8116, allocations: 0.5625 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8116, allocations: 0 / 1.095 GB, free: 0.7578 MB / 0.8575 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.0009534/0.8126, allocations: 0.5511 MB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.8126, allocations: 9.719 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.8127, allocations: 60.42 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.8136, allocations: 105.9 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.8141, allocations: 274.4 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.8141, allocations: 13.12 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.8141, allocations: 20.25 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.8148, allocations: 359.5 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8148, allocations: 1.125 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.8149, allocations: 10.2 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.8149, allocations: 26.03 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.8155, allocations: 295.3 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.818, allocations: 1.73 MB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.8185, allocations: 322.4 kB / 1.098 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.8187, allocations: 110.2 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.8189, allocations: 90.27 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.8189, allocations: 36.7 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.8189, allocations: 1.625 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002767/0.8217, allocations: 0.9734 MB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.8218, allocations: 83.92 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.822, allocations: 216.5 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.8221, allocations: 30.8 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.8222, allocations: 167.2 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.8223, allocations: 79.91 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8224, allocations: 60.53 kB / 1.1 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8226, allocations: 334.3 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.8228, allocations: 130.2 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.8231, allocations: 207.8 kB / 1.101 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.8237, allocations: 374.1 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8237, allocations: 0.875 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001012/0.8247, allocations: 0.5119 MB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8247, allocations: 5.75 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8248, allocations: 3.281 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/0.8253, allocations: 154.3 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.8256, allocations: 64.36 kB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.8291, allocations: 4.181 MB / 1.106 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.8294, allocations: 25.8 kB / 1.106 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.8294, allocations: 14.98 kB / 1.106 GB, free: 7.727 MB / 0.8731 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.0002356/0.8297, allocations: 161.8 kB / 1.106 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.8298, allocations: 22.03 kB / 1.106 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.8307, allocations: 479.9 kB / 1.107 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8307, allocations: 3.5 kB / 1.107 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8307, allocations: 1.344 kB / 1.107 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8307, allocations: 1.5 kB / 1.107 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.8325, allocations: 1.003 MB / 1.108 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.8325, allocations: 7.5 kB / 1.108 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.8326, allocations: 33.05 kB / 1.108 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/0.8331, allocations: 143.8 kB / 1.108 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.8331, allocations: 8.859 kB / 1.108 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.8365, allocations: 4.154 MB / 1.112 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8366, allocations: 3.344 kB / 1.112 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.8375, allocations: 0.6271 MB / 1.113 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.8377, allocations: 121.3 kB / 1.113 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.8378, allocations: 9.141 kB / 1.113 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.838, allocations: 22.7 kB / 1.113 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.8381, allocations: 25.98 kB / 1.113 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.8381, allocations: 12.12 kB / 1.113 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001734/0.8383, allocations: 156 kB / 1.113 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8383, allocations: 1.094 kB / 1.113 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005974/0.8389, allocations: 91.89 kB / 1.113 GB, free: 1.93 MB / 0.8731 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.001367/0.8403, allocations: 1.193 MB / 1.114 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.8414, allocations: 0.5888 MB / 1.115 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8414, allocations: 0 / 1.115 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.842, allocations: 397.3 kB / 1.115 GB, free: 316 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.8426, allocations: 52.91 kB / 1.115 GB, free: 292 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.8471, allocations: 3.326 MB / 1.118 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.8477, allocations: 0.7826 MB / 1.119 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.848, allocations: 56.7 kB / 1.119 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.8482, allocations: 74.38 kB / 1.119 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of SimCode: time 1.583e-06/0.8482, allocations: 0.5312 kB / 1.119 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.883, allocations: 6.805 MB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.63, allocations: 9.672 kB / 1.126 GB, free: 12.37 MB / 0.8887 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