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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007334/0.007334, allocations: 99.03 kB / 15.73 MB, free: 6.016 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.001438/0.001438, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.493/2.493, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.38 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2596, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00572/0.2654, allocations: 4.849 MB / 1.247 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00335/0.2687, allocations: 2.448 MB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2689, allocations: 23.81 kB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000974/0.2699, allocations: 401.9 kB / 1.249 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.2707, allocations: 445.7 kB / 1.25 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2713, allocations: 374.5 kB / 1.25 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.2722, allocations: 0.9212 MB / 1.251 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.2726, allocations: 354.8 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.273, allocations: 342.7 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.2734, allocations: 354.4 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.2735, allocations: 36 kB / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.274, allocations: 399.1 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.2742, allocations: 179.4 kB / 1.253 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2745, allocations: 326.2 kB / 1.253 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008541/0.2753, allocations: 0.8793 MB / 1.254 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.2753, allocations: 4 kB / 1.254 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2753, allocations: 3.938 kB / 1.254 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2754, allocations: 0 / 1.254 GB, free: 12.59 MB / 0.9825 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.001198/0.2766, allocations: 0.9547 MB / 1.255 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2766, allocations: 12.03 kB / 1.255 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.373e-05/0.2767, allocations: 94.69 kB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2778, allocations: 208.2 kB / 1.255 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.2785, allocations: 0.5455 MB / 1.256 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2785, allocations: 33.36 kB / 1.256 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.2786, allocations: 40.38 kB / 1.256 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.2796, allocations: 0.8485 MB / 1.256 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2796, allocations: 7.938 kB / 1.257 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.2797, allocations: 23.98 kB / 1.257 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.481e-05/0.2797, allocations: 64.95 kB / 1.257 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.2805, allocations: 0.5695 MB / 1.257 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.2845, allocations: 5.647 MB / 1.263 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.2851, allocations: 458.3 kB / 1.263 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.2854, allocations: 229.2 kB / 1.263 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.2854, allocations: 4 kB / 1.263 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2855, allocations: 35.09 kB / 1.263 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.2855, allocations: 0 / 1.263 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002277/0.2878, allocations: 1.516 MB / 1.265 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2878, allocations: 55.69 kB / 1.265 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.2883, allocations: 0.4951 MB / 1.265 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2883, allocations: 29.7 kB / 1.265 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.2885, allocations: 363.7 kB / 1.266 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.2886, allocations: 126.9 kB / 1.266 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.2888, allocations: 110.2 kB / 1.266 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2889, allocations: 374.7 kB / 1.266 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.2892, allocations: 189.2 kB / 1.267 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.2896, allocations: 448.5 kB / 1.267 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.2904, allocations: 0.6919 MB / 1.268 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2904, allocations: 0 / 1.268 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001152/0.2916, allocations: 0.8176 MB / 1.268 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2916, allocations: 11.94 kB / 1.268 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2916, allocations: 12 kB / 1.268 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/0.2921, allocations: 160.5 kB / 1.269 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.2925, allocations: 115.8 kB / 1.269 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.2956, allocations: 4.34 MB / 1.273 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2959, allocations: 31.97 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.296, allocations: 31.94 kB / 1.273 GB, free: 7.469 MB / 0.9981 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.0002211/0.2962, allocations: 219.9 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.2963, allocations: 63.62 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/0.2972, allocations: 0.5968 MB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2973, allocations: 4 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2973, allocations: 8 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2973, allocations: 4 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.2989, allocations: 1.259 MB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2989, allocations: 4 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.2991, allocations: 59.89 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.2995, allocations: 136.4 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2995, allocations: 11.94 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.3028, allocations: 4.337 MB / 1.28 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.3028, allocations: 7.984 kB / 1.28 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.3037, allocations: 0.7165 MB / 1.28 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3039, allocations: 168.6 kB / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.304, allocations: 12 kB / 1.28 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3042, allocations: 23.97 kB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.3043, allocations: 39.83 kB / 1.28 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3043, allocations: 8 kB / 1.28 GB, free: 15.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003201/0.3046, allocations: 330.9 kB / 1.281 GB, free: 14.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3047, allocations: 0 / 1.281 GB, free: 14.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005334/0.3052, allocations: 140 kB / 1.281 GB, free: 14.71 MB / 1.014 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.001227/0.3064, allocations: 1.265 MB / 1.282 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.3077, allocations: 1.04 MB / 1.283 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3077, allocations: 0 / 1.283 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.3085, allocations: 0.7384 MB / 1.284 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.3094, allocations: 207.1 kB / 1.284 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.315, allocations: 5.1 MB / 1.289 GB, free: 5.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3155, allocations: 0.9098 MB / 1.29 GB, free: 4.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.3158, allocations: 117.3 kB / 1.29 GB, free: 4.707 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.316, allocations: 195.4 kB / 1.29 GB, free: 4.516 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/0.316, allocations: 0 / 1.29 GB, free: 4.516 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.298/1.614, allocations: 12.71 MB / 1.303 GB, free: 8.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.67, allocations: 7.922 kB / 1.303 GB, free: 8.062 MB / 1.029 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=400 --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