Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.008028/0.008028, allocations: 103.3 kB / 15.73 MB, free: 6.043 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: 190.1 kB / 16.67 MB, free: 5.961 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.449/2.449, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.11 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6991, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006522/0.7056, allocations: 4.863 MB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.7094, allocations: 2.447 MB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.7099, allocations: 23.81 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.7111, allocations: 406 kB / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.7121, allocations: 441.6 kB / 1.215 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.7129, allocations: 378.7 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.714, allocations: 0.9096 MB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.7145, allocations: 352.8 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.715, allocations: 346.6 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.7156, allocations: 350.4 kB / 1.217 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.7157, allocations: 36 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/0.7163, allocations: 403.1 kB / 1.218 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.7165, allocations: 187.4 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.7168, allocations: 318.2 kB / 1.218 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009693/0.7178, allocations: 0.876 MB / 1.219 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7178, allocations: 0 / 1.219 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.779e-06/0.7178, allocations: 11.98 kB / 1.219 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.7179, allocations: 0 / 1.219 GB, free: 1.254 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001441/0.7193, allocations: 0.9269 MB / 1.22 GB, free: 280 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7194, allocations: 20.02 kB / 1.22 GB, free: 260 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.7195, allocations: 90.69 kB / 1.22 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.7207, allocations: 199.9 kB / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.7215, allocations: 0.5411 MB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.7215, allocations: 33.31 kB / 1.221 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.7216, allocations: 44.36 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.7227, allocations: 0.8446 MB / 1.222 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.7227, allocations: 7.938 kB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.7227, allocations: 27.98 kB / 1.222 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-05/0.7228, allocations: 64.95 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.7237, allocations: 0.5695 MB / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.7278, allocations: 5.639 MB / 1.228 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.7284, allocations: 458.8 kB / 1.228 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.7287, allocations: 228.7 kB / 1.229 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.7287, allocations: 4.531 kB / 1.229 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.7287, allocations: 30.56 kB / 1.229 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.225e-06/0.7287, allocations: 3.938 kB / 1.229 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002481/0.7312, allocations: 1.505 MB / 1.23 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.7313, allocations: 55.69 kB / 1.23 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.7318, allocations: 0.495 MB / 1.231 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.7318, allocations: 29.7 kB / 1.231 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.7321, allocations: 354.8 kB / 1.231 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.7322, allocations: 122.3 kB / 1.231 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.7323, allocations: 106.2 kB / 1.231 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7325, allocations: 374.8 kB / 1.232 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.7327, allocations: 193.2 kB / 1.232 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.7332, allocations: 447.3 kB / 1.232 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.7339, allocations: 0.6915 MB / 1.233 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7339, allocations: 0 / 1.233 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00114/0.735, allocations: 0.8049 MB / 1.234 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7351, allocations: 9.875 kB / 1.234 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7351, allocations: 12.84 kB / 1.234 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.7355, allocations: 156.1 kB / 1.234 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.736, allocations: 127.7 kB / 1.234 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.739, allocations: 4.336 MB / 1.238 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.7394, allocations: 36.12 kB / 1.238 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.7394, allocations: 28 kB / 1.238 GB, free: 12.2 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.7397, allocations: 217.5 kB / 1.239 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.7397, allocations: 63.25 kB / 1.239 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.7407, allocations: 0.6009 MB / 1.239 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7407, allocations: 4 kB / 1.239 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7407, allocations: 0 / 1.239 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7407, allocations: 3.984 kB / 1.239 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.7424, allocations: 1.257 MB / 1.24 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7424, allocations: 4 kB / 1.24 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.7426, allocations: 55.89 kB / 1.24 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/0.743, allocations: 148.3 kB / 1.241 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.743, allocations: 7.938 kB / 1.241 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.7459, allocations: 4.332 MB / 1.245 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7459, allocations: 0 / 1.245 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.7468, allocations: 0.7195 MB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.747, allocations: 168.3 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.7471, allocations: 8 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.7473, allocations: 27.8 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.7474, allocations: 35.83 kB / 1.246 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.7474, allocations: 8 kB / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000303/0.7478, allocations: 338.8 kB / 1.246 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7478, allocations: 0 / 1.246 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005715/0.7483, allocations: 144 kB / 1.246 GB, free: 3.449 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.7495, allocations: 1.253 MB / 1.247 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.7507, allocations: 1.045 MB / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7507, allocations: 0 / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.7515, allocations: 0.7385 MB / 1.249 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.7524, allocations: 203.7 kB / 1.249 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.7578, allocations: 5.096 MB / 1.254 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.7582, allocations: 0.9058 MB / 1.255 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.7585, allocations: 113.3 kB / 1.255 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.7587, allocations: 199.3 kB / 1.256 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.7587, allocations: 0 / 1.256 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.795, allocations: 12.92 MB / 1.268 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.28, allocations: 7.5 kB / 1.268 GB, free: 12.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches