Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_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.005227/0.005227, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001429/0.001429, allocations: 202 kB / 16.68 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437.1 MB / 0.7106 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 68.03 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006217/0.258, allocations: 4.849 MB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.2618, allocations: 2.455 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.262, allocations: 27.81 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.2631, allocations: 398 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.2639, allocations: 445.6 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.2646, allocations: 374.7 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008957/0.2655, allocations: 0.9173 MB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.266, allocations: 350.8 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.2664, allocations: 342.6 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.2668, allocations: 346.5 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.2669, allocations: 36 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/0.2675, allocations: 399.1 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2677, allocations: 179.4 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.268, allocations: 322.2 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.2689, allocations: 0.8948 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2689, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2689, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.269, allocations: 0 / 1.178 GB, free: 10.96 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.001278/0.2702, allocations: 0.9533 MB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2703, allocations: 15.97 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.58e-05/0.2704, allocations: 98.69 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2715, allocations: 208.2 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.2723, allocations: 0.5339 MB / 1.18 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2723, allocations: 37.31 kB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.2724, allocations: 48.36 kB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2734, allocations: 0.8522 MB / 1.181 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2735, allocations: 7.938 kB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.2735, allocations: 23.98 kB / 1.181 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-05/0.2736, allocations: 64.95 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008186/0.2744, allocations: 0.5656 MB / 1.181 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/0.2788, allocations: 5.651 MB / 1.187 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.2795, allocations: 468.1 kB / 1.187 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.2798, allocations: 224.7 kB / 1.188 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.2798, allocations: 4 kB / 1.188 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2799, allocations: 38.56 kB / 1.188 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.2799, allocations: 0 / 1.188 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002392/0.2823, allocations: 1.511 MB / 1.189 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2823, allocations: 55.69 kB / 1.189 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.2828, allocations: 499 kB / 1.19 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2828, allocations: 33.7 kB / 1.19 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.2831, allocations: 363.7 kB / 1.19 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2832, allocations: 123 kB / 1.19 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2834, allocations: 114.2 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2835, allocations: 366.8 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2838, allocations: 193.2 kB / 1.191 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.2843, allocations: 447.3 kB / 1.191 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.2851, allocations: 0.6915 MB / 1.192 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2851, allocations: 11.94 kB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001212/0.2863, allocations: 0.806 MB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2864, allocations: 8 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2864, allocations: 12.12 kB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.2869, allocations: 156 kB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.2873, allocations: 119.8 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.2907, allocations: 4.356 MB / 1.197 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.291, allocations: 31.97 kB / 1.197 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.2911, allocations: 28 kB / 1.197 GB, free: 5.832 MB / 0.9512 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.000247/0.2913, allocations: 217.5 kB / 1.198 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.2914, allocations: 71.64 kB / 1.198 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009911/0.2924, allocations: 0.5932 MB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2924, allocations: 4 kB / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.2924, allocations: 0 / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2925, allocations: 0 / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.2942, allocations: 1.259 MB / 1.199 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2942, allocations: 4 kB / 1.199 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2944, allocations: 51.95 kB / 1.199 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.2948, allocations: 144.3 kB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.2948, allocations: 15.94 kB / 1.2 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.2982, allocations: 4.337 MB / 1.204 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2982, allocations: 12.12 kB / 1.204 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.2992, allocations: 0.712 MB / 1.205 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.2994, allocations: 168.6 kB / 1.205 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.2995, allocations: 8 kB / 1.205 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2997, allocations: 19.97 kB / 1.205 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.2998, allocations: 43.89 kB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2998, allocations: 8 kB / 1.205 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003336/0.3001, allocations: 330.9 kB / 1.205 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3001, allocations: 0 / 1.205 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000517/0.3007, allocations: 136 kB / 1.205 GB, free: 13.09 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.001277/0.3019, allocations: 1.277 MB / 1.207 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3033, allocations: 1.044 MB / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3033, allocations: 0 / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.3041, allocations: 0.7351 MB / 1.208 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.305, allocations: 208.1 kB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.3109, allocations: 5.107 MB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.3114, allocations: 0.9019 MB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.3117, allocations: 117.3 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.312, allocations: 195.4 kB / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.312, allocations: 0 / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5206/0.8326, allocations: 12.71 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.13, allocations: 2.75 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches