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.004688/0.004688, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.00106/0.00106, allocations: 189.3 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.263/1.263, 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.377/2.377, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7598, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006165/0.766, allocations: 4.849 MB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.7699, allocations: 2.455 MB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.7703, allocations: 23.81 kB / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.7716, allocations: 401.9 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.7727, allocations: 441.6 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.7736, allocations: 370.6 kB / 1.216 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.7747, allocations: 0.9173 MB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.7753, allocations: 348.8 kB / 1.217 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.7758, allocations: 350.6 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.7763, allocations: 346.5 kB / 1.217 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.52e-05/0.7764, allocations: 40 kB / 1.218 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.7771, allocations: 395.1 kB / 1.218 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.7774, allocations: 195.3 kB / 1.218 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.7777, allocations: 314.3 kB / 1.218 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.7788, allocations: 0.8876 MB / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7788, allocations: 0 / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7788, allocations: 0 / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.7788, allocations: 0 / 1.219 GB, free: 1.246 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.001454/0.7803, allocations: 0.9386 MB / 1.22 GB, free: 260 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7803, allocations: 8.031 kB / 1.22 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.7804, allocations: 94.69 kB / 1.22 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.7817, allocations: 203.9 kB / 1.22 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.7825, allocations: 0.5333 MB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.7825, allocations: 37.31 kB / 1.221 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.7826, allocations: 44.36 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7837, allocations: 0.8446 MB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.7837, allocations: 7.922 kB / 1.222 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.7838, allocations: 27.98 kB / 1.222 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.61e-05/0.7839, allocations: 64.95 kB / 1.222 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.7847, allocations: 0.5656 MB / 1.223 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.7889, allocations: 5.647 MB / 1.228 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.7895, allocations: 462.7 kB / 1.228 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.7898, allocations: 224.7 kB / 1.229 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.7898, allocations: 0.5312 kB / 1.229 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7899, allocations: 38.56 kB / 1.229 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.7899, allocations: 0 / 1.229 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002363/0.7922, allocations: 1.505 MB / 1.23 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7923, allocations: 55.69 kB / 1.23 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.7928, allocations: 0.4911 MB / 1.231 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.7928, allocations: 29.7 kB / 1.231 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.793, allocations: 362.8 kB / 1.231 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.7931, allocations: 118.3 kB / 1.231 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.7933, allocations: 110.2 kB / 1.231 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7934, allocations: 362.8 kB / 1.232 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.7937, allocations: 193.2 kB / 1.232 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.7941, allocations: 447.3 kB / 1.232 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.7949, allocations: 0.6954 MB / 1.233 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.7949, allocations: 4 kB / 1.233 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001195/0.7961, allocations: 0.8014 MB / 1.234 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7961, allocations: 8 kB / 1.234 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7961, allocations: 15.94 kB / 1.234 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.7966, allocations: 160.6 kB / 1.234 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.7971, allocations: 123.8 kB / 1.234 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.8003, allocations: 4.336 MB / 1.238 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.8007, allocations: 35.97 kB / 1.238 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.8008, allocations: 35.92 kB / 1.238 GB, free: 12.18 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.0002408/0.801, allocations: 219.9 kB / 1.239 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.8011, allocations: 59.25 kB / 1.239 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.802, allocations: 0.6009 MB / 1.239 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.802, allocations: 4 kB / 1.239 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8021, allocations: 4 kB / 1.239 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8021, allocations: 3.984 kB / 1.239 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.8038, allocations: 1.253 MB / 1.24 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8038, allocations: 0 / 1.24 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.8041, allocations: 59.89 kB / 1.24 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.8045, allocations: 144.4 kB / 1.241 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.8045, allocations: 11.94 kB / 1.241 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.8075, allocations: 4.336 MB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8076, allocations: 4 kB / 1.245 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.8085, allocations: 0.7077 MB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.8087, allocations: 164.3 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.8088, allocations: 12 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.809, allocations: 31.91 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.8091, allocations: 31.89 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.8091, allocations: 8 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000329/0.8094, allocations: 334.8 kB / 1.246 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8094, allocations: 4 kB / 1.246 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005775/0.81, allocations: 136 kB / 1.246 GB, free: 3.441 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.001204/0.8112, allocations: 1.261 MB / 1.247 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.8126, allocations: 1.049 MB / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8126, allocations: 0 / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.8133, allocations: 0.7268 MB / 1.249 GB, free: 180 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.8143, allocations: 210.7 kB / 1.249 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/0.8203, allocations: 5.098 MB / 1.254 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.8208, allocations: 0.9058 MB / 1.255 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.8211, allocations: 121.3 kB / 1.255 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.8214, allocations: 191.4 kB / 1.256 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8214, allocations: 0 / 1.256 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.8591, allocations: 12.93 MB / 1.268 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.875/10.73, allocations: 0.75 kB / 1.268 GB, free: 12.58 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