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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001042/0.001042, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008346/0.008346, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6067, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004807/0.6115, allocations: 4.472 MB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.6151, allocations: 2.435 MB / 0.9619 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.6155, allocations: 19.91 kB / 0.9619 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.6158, allocations: 93.05 kB / 0.962 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.6167, allocations: 420.7 kB / 0.9624 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.6175, allocations: 340.2 kB / 0.9628 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.6188, allocations: 1.126 MB / 0.9639 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.6195, allocations: 464.2 kB / 0.9643 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.62, allocations: 295 kB / 0.9646 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.6204, allocations: 331.4 kB / 0.9649 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.6205, allocations: 19.66 kB / 0.9649 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007494/0.6212, allocations: 495.4 kB / 0.9654 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.6215, allocations: 167 kB / 0.9655 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.6218, allocations: 316.2 kB / 0.9659 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.6228, allocations: 0.8761 MB / 0.9667 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6228, allocations: 4 kB / 0.9667 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.165e-06/0.6229, allocations: 0 / 0.9667 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6229, allocations: 1 kB / 0.9667 GB, free: 15.12 MB / 0.7325 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.001365/0.6242, allocations: 0.8244 MB / 0.9675 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6243, allocations: 12.98 kB / 0.9675 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.6244, allocations: 101.5 kB / 0.9676 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.6257, allocations: 196.4 kB / 0.9678 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.6265, allocations: 494 kB / 0.9683 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.6266, allocations: 35.33 kB / 0.9683 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.6267, allocations: 45.05 kB / 0.9684 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.628, allocations: 0.8521 MB / 0.9692 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.628, allocations: 6.969 kB / 0.9692 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.6281, allocations: 20 kB / 0.9692 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.6282, allocations: 66.98 kB / 0.9693 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.6292, allocations: 0.5677 MB / 0.9698 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004974/0.6342, allocations: 5.651 MB / 0.9754 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.6349, allocations: 460.1 kB / 0.9758 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.6353, allocations: 228.3 kB / 0.976 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.6354, allocations: 3.469 kB / 0.976 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6354, allocations: 35.94 kB / 0.976 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.6354, allocations: 3.938 kB / 0.9761 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.003003/0.6384, allocations: 1.515 MB / 0.9775 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.6385, allocations: 55.66 kB / 0.9776 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.6392, allocations: 0.4884 MB / 0.9781 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6392, allocations: 31.27 kB / 0.9781 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.6395, allocations: 355.1 kB / 0.9784 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6396, allocations: 121.9 kB / 0.9785 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.6397, allocations: 50.48 kB / 0.9786 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6399, allocations: 368.5 kB / 0.9789 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.6402, allocations: 193 kB / 0.9791 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.6407, allocations: 445.2 kB / 0.9796 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.6416, allocations: 0.6923 MB / 0.9802 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6416, allocations: 3.688 kB / 0.9802 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001437/0.6431, allocations: 0.8066 MB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6431, allocations: 8.125 kB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6431, allocations: 10.12 kB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.6436, allocations: 161 kB / 0.9812 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.6441, allocations: 118.5 kB / 0.9813 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.6476, allocations: 4.039 MB / 0.9852 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.6481, allocations: 33.81 kB / 0.9853 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.6482, allocations: 26.66 kB / 0.9853 GB, free: 14.79 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.0003125/0.6485, allocations: 214.6 kB / 0.9855 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.6486, allocations: 64.62 kB / 0.9856 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.6497, allocations: 0.6017 MB / 0.9862 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6497, allocations: 0 / 0.9862 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6497, allocations: 7.938 kB / 0.9862 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6498, allocations: 3.984 kB / 0.9862 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.6517, allocations: 1.253 MB / 0.9874 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6517, allocations: 4.219 kB / 0.9874 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.652, allocations: 59.89 kB / 0.9875 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.6524, allocations: 140.1 kB / 0.9876 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.6525, allocations: 8 kB / 0.9876 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003233/0.6557, allocations: 4.036 MB / 0.9915 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6557, allocations: 0 / 0.9915 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.6568, allocations: 0.7087 MB / 0.9922 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.657, allocations: 168.2 kB / 0.9924 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.6571, allocations: 11.98 kB / 0.9924 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.6573, allocations: 23.97 kB / 0.9924 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.6574, allocations: 27.91 kB / 0.9925 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6575, allocations: 15.94 kB / 0.9925 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003831/0.6578, allocations: 330.8 kB / 0.9928 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6579, allocations: 4 kB / 0.9928 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007325/0.6586, allocations: 144 kB / 0.9929 GB, free: 6.504 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.00133/0.6599, allocations: 1.265 MB / 0.9942 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.6613, allocations: 1.029 MB / 0.9952 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6614, allocations: 0 / 0.9952 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008178/0.6622, allocations: 0.7423 MB / 0.9959 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6633, allocations: 190.6 kB / 0.9961 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.6704, allocations: 5.415 MB / 1.001 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.671, allocations: 0.9019 MB / 1.002 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.6714, allocations: 117.3 kB / 1.002 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.6716, allocations: 195.4 kB / 1.003 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/0.6716, allocations: 0 / 1.003 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.6992, allocations: 11.99 MB / 1.014 GB, free: 300 kB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.6995, allocations: 234.9 kB / 1.014 GB, free: 36 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.594, allocations: 0 / 1.014 GB, free: 36 kB / 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