Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_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.006413/0.006413, allocations: 103.8 kB / 15.74 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.001448/0.001448, allocations: 195.5 kB / 16.68 MB, free: 5.965 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 67.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6255, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004609/0.6301, allocations: 4.85 MB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.633, allocations: 2.471 MB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.6332, allocations: 24.28 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.6341, allocations: 390.3 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007271/0.6348, allocations: 443.7 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.6356, allocations: 373.1 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00094/0.6365, allocations: 0.9111 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.637, allocations: 364.9 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.6374, allocations: 333.5 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.6379, allocations: 351.7 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.638, allocations: 37.53 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006824/0.6386, allocations: 405.2 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.6388, allocations: 177 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.6391, allocations: 325.7 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009228/0.6401, allocations: 0.8714 MB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6401, allocations: 1.312 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6401, allocations: 0 / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6401, allocations: 0 / 1.099 GB, free: 13.94 MB / 0.8731 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.001281/0.6414, allocations: 0.9455 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6414, allocations: 10.03 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.783e-05/0.6415, allocations: 88.67 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6427, allocations: 202.4 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.6435, allocations: 0.5381 MB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.6436, allocations: 35.2 kB / 1.101 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.6436, allocations: 45.58 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.6446, allocations: 0.8451 MB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.6447, allocations: 8.734 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.6447, allocations: 23.98 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.183e-05/0.6448, allocations: 68.45 kB / 1.102 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/0.6457, allocations: 0.5723 MB / 1.103 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.6494, allocations: 5.637 MB / 1.108 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.65, allocations: 455.1 kB / 1.109 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.6503, allocations: 228.6 kB / 1.109 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.6503, allocations: 12.22 kB / 1.109 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.6503, allocations: 36.5 kB / 1.109 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.6504, allocations: 0 / 1.109 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002269/0.6526, allocations: 1.504 MB / 1.11 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.6527, allocations: 59.44 kB / 1.11 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.6531, allocations: 0.4886 MB / 1.111 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.6532, allocations: 31.2 kB / 1.111 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.6534, allocations: 356.6 kB / 1.111 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.6535, allocations: 126.8 kB / 1.111 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.6536, allocations: 103.2 kB / 1.112 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6537, allocations: 365.4 kB / 1.112 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.654, allocations: 195.3 kB / 1.112 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.6544, allocations: 452.2 kB / 1.112 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.6551, allocations: 0.688 MB / 1.113 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6551, allocations: 2.562 kB / 1.113 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001152/0.6562, allocations: 0.8125 MB / 1.114 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6563, allocations: 11.09 kB / 1.114 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6563, allocations: 8.781 kB / 1.114 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.6567, allocations: 153.2 kB / 1.114 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.6572, allocations: 129.7 kB / 1.114 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.66, allocations: 4.337 MB / 1.118 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.6604, allocations: 33.03 kB / 1.119 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.6604, allocations: 32.39 kB / 1.119 GB, free: 14.71 MB / 0.8887 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.0002111/0.6606, allocations: 222.6 kB / 1.119 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.6607, allocations: 58.7 kB / 1.119 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.6617, allocations: 0.5947 MB / 1.119 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6617, allocations: 2.812 kB / 1.119 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6617, allocations: 1.891 kB / 1.119 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6617, allocations: 3.219 kB / 1.119 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.6634, allocations: 1.261 MB / 1.121 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6634, allocations: 6.984 kB / 1.121 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.6636, allocations: 55.06 kB / 1.121 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.664, allocations: 142.3 kB / 1.121 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.664, allocations: 11.88 kB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.6667, allocations: 4.333 MB / 1.125 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6667, allocations: 2.75 kB / 1.125 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.6676, allocations: 0.7134 MB / 1.126 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.6678, allocations: 174.9 kB / 1.126 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6679, allocations: 8.547 kB / 1.126 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.6681, allocations: 21.81 kB / 1.126 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.6682, allocations: 39.44 kB / 1.126 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.6682, allocations: 7.906 kB / 1.126 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003072/0.6685, allocations: 334.9 kB / 1.126 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6685, allocations: 0 / 1.126 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005472/0.6691, allocations: 142.3 kB / 1.126 GB, free: 8.395 MB / 0.8887 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.001113/0.6702, allocations: 1.253 MB / 1.128 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.6714, allocations: 1.041 MB / 1.129 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6714, allocations: 128 / 1.129 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.6722, allocations: 0.7348 MB / 1.129 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.6731, allocations: 206.9 kB / 1.13 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.6787, allocations: 5.086 MB / 1.135 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6791, allocations: 0.9026 MB / 1.135 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.6794, allocations: 117.1 kB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.6797, allocations: 194 kB / 1.136 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/0.6797, allocations: 3.938 kB / 1.136 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.356/4.035, allocations: 12.7 MB / 1.148 GB, free: 24 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/20.98, allocations: 7.344 kB / 1.148 GB, free: 20 kB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches