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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.351/2.351, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.91 kB / 0.8127 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6798, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005179/0.6851, allocations: 4.854 MB / 0.9545 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003584/0.6887, allocations: 2.445 MB / 0.9569 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.6891, allocations: 24.03 kB / 0.9569 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.6902, allocations: 413.1 kB / 0.9573 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009308/0.6912, allocations: 437.5 kB / 0.9577 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.6919, allocations: 378.1 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.6926, allocations: 0.916 MB / 0.9589 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.6931, allocations: 351.8 kB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.6935, allocations: 339.5 kB / 0.9596 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.694, allocations: 345.9 kB / 0.9599 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.694, allocations: 38 kB / 0.96 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007791/0.6948, allocations: 403.5 kB / 0.9604 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.695, allocations: 187.4 kB / 0.9605 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.6953, allocations: 314.8 kB / 0.9608 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008734/0.6961, allocations: 0.8664 MB / 0.9617 GB, free: 336 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6962, allocations: 0 / 0.9617 GB, free: 336 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6962, allocations: 0 / 0.9617 GB, free: 336 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.6962, allocations: 0 / 0.9617 GB, free: 336 kB / 0.7169 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.001378/0.6976, allocations: 0.9355 MB / 0.9626 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6976, allocations: 10.41 kB / 0.9626 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.6977, allocations: 93.16 kB / 0.9627 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.699, allocations: 216.1 kB / 0.9629 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.6997, allocations: 493.1 kB / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.6997, allocations: 35.48 kB / 0.9634 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.6998, allocations: 45.14 kB / 0.9634 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.7008, allocations: 0.848 MB / 0.9643 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.7008, allocations: 7.281 kB / 0.9643 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.7009, allocations: 23.92 kB / 0.9643 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.701, allocations: 62.19 kB / 0.9644 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/0.7018, allocations: 0.5752 MB / 0.9649 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.7063, allocations: 5.644 MB / 0.9704 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.707, allocations: 459.2 kB / 0.9709 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.7073, allocations: 227.8 kB / 0.9711 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.7073, allocations: 3.75 kB / 0.9711 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7073, allocations: 39.78 kB / 0.9711 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.7073, allocations: 7.922 kB / 0.9711 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002509/0.7099, allocations: 1.505 MB / 0.9726 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.7099, allocations: 55.22 kB / 0.9727 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.7104, allocations: 0.4994 MB / 0.9731 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.7105, allocations: 31.3 kB / 0.9732 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.7107, allocations: 351.6 kB / 0.9735 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.7108, allocations: 118.1 kB / 0.9736 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7109, allocations: 107.7 kB / 0.9737 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7111, allocations: 367.5 kB / 0.9741 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.7113, allocations: 198.5 kB / 0.9743 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.7118, allocations: 444 kB / 0.9747 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.7126, allocations: 0.6932 MB / 0.9754 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7126, allocations: 3.375 kB / 0.9754 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001239/0.7138, allocations: 0.8063 MB / 0.9762 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7139, allocations: 9.094 kB / 0.9762 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.7139, allocations: 9.281 kB / 0.9762 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.7143, allocations: 153.3 kB / 0.9763 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.7148, allocations: 127 kB / 0.9764 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.7181, allocations: 4.336 MB / 0.9807 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.7186, allocations: 36.19 kB / 0.9807 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.7186, allocations: 27.66 kB / 0.9807 GB, free: 15.58 MB / 0.7481 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.0002804/0.7189, allocations: 217.8 kB / 0.9809 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.44e-05/0.719, allocations: 61.34 kB / 0.981 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.72, allocations: 0.5984 MB / 0.9816 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.72, allocations: 2.719 kB / 0.9816 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7201, allocations: 2.344 kB / 0.9816 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.7201, allocations: 3.984 kB / 0.9816 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.722, allocations: 1.262 MB / 0.9828 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7221, allocations: 2.781 kB / 0.9828 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.7223, allocations: 53.95 kB / 0.9829 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/0.7227, allocations: 148.7 kB / 0.983 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.7227, allocations: 11.31 kB / 0.983 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.7257, allocations: 4.331 MB / 0.9873 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7258, allocations: 0 / 0.9873 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.7267, allocations: 0.712 MB / 0.988 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.727, allocations: 172.2 kB / 0.9881 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.727, allocations: 8 kB / 0.9881 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.7273, allocations: 23.97 kB / 0.9882 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.7274, allocations: 39.83 kB / 0.9882 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.7274, allocations: 12 kB / 0.9882 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000346/0.7277, allocations: 330.8 kB / 0.9885 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7277, allocations: 3.938 kB / 0.9885 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006776/0.7284, allocations: 144 kB / 0.9887 GB, free: 7.75 MB / 0.7481 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.001201/0.7296, allocations: 1.249 MB / 0.9899 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.7311, allocations: 1.087 MB / 0.9909 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7311, allocations: 128 / 0.9909 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.7319, allocations: 0.7302 MB / 0.9917 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.7329, allocations: 200.1 kB / 0.9919 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.7394, allocations: 5.197 MB / 0.9969 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.7399, allocations: 0.9096 MB / 0.9978 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003508/0.7402, allocations: 121.3 kB / 0.9979 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.7405, allocations: 195.4 kB / 0.9981 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/0.7405, allocations: 0 / 0.9981 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.7938, allocations: 12.54 MB / 1.01 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.017/9.811, allocations: 3.984 kB / 1.01 GB, free: 1.125 MB / 0.7637 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