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.001462/0.001462, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001657/0.001657, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.264/2.264, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5756, allocations: 140.4 MB / 0.9493 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.0056/0.5812, allocations: 4.866 MB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003582/0.5848, allocations: 2.441 MB / 0.9564 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.585, allocations: 22.5 kB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.586, allocations: 367.8 kB / 0.9568 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008478/0.5869, allocations: 410.1 kB / 0.9571 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.5877, allocations: 342 kB / 0.9575 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.5886, allocations: 0.9116 MB / 0.9584 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.5891, allocations: 403.9 kB / 0.9588 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.5895, allocations: 339 kB / 0.9591 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.5898, allocations: 354.5 kB / 0.9594 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.5899, allocations: 37.34 kB / 0.9594 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.5904, allocations: 408.6 kB / 0.9598 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.5906, allocations: 183.6 kB / 0.96 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.5908, allocations: 317.6 kB / 0.9603 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.5916, allocations: 0.8987 MB / 0.9612 GB, free: 160 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5916, allocations: 0 / 0.9612 GB, free: 160 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5917, allocations: 0 / 0.9612 GB, free: 160 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5917, allocations: 1.25 kB / 0.9612 GB, free: 160 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.001731/0.5934, allocations: 0.9417 MB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5935, allocations: 16.81 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.5936, allocations: 89.42 kB / 0.9622 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5951, allocations: 208.6 kB / 0.9624 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.5958, allocations: 489.1 kB / 0.9629 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.5958, allocations: 39.67 kB / 0.9629 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.5959, allocations: 41 kB / 0.963 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5971, allocations: 0.848 MB / 0.9638 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5971, allocations: 11.34 kB / 0.9638 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.5972, allocations: 27.73 kB / 0.9638 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/0.5973, allocations: 62.55 kB / 0.9639 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.5985, allocations: 0.5675 MB / 0.9644 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/0.6033, allocations: 5.652 MB / 0.97 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.6041, allocations: 450.7 kB / 0.9704 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.6044, allocations: 232.2 kB / 0.9706 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.6044, allocations: 2.719 kB / 0.9706 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.6045, allocations: 36.72 kB / 0.9706 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/0.6045, allocations: 0 / 0.9706 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.00262/0.6071, allocations: 1.513 MB / 0.9721 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.6071, allocations: 55.72 kB / 0.9722 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006538/0.6078, allocations: 0.4921 MB / 0.9727 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.6079, allocations: 30.92 kB / 0.9727 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6082, allocations: 359.2 kB / 0.973 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.6083, allocations: 119.1 kB / 0.9731 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.6085, allocations: 107.8 kB / 0.9732 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6086, allocations: 366.1 kB / 0.9736 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.6089, allocations: 198 kB / 0.9738 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.6094, allocations: 448.7 kB / 0.9742 GB, free: 5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.6102, allocations: 0.6897 MB / 0.9749 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6102, allocations: 2.062 kB / 0.9749 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001299/0.6115, allocations: 0.8041 MB / 0.9757 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6115, allocations: 17 kB / 0.9757 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6116, allocations: 8.531 kB / 0.9757 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.612, allocations: 149.5 kB / 0.9758 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.6125, allocations: 123.1 kB / 0.976 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.6156, allocations: 4.347 MB / 0.9802 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.616, allocations: 32.34 kB / 0.9802 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.616, allocations: 31.91 kB / 0.9803 GB, free: 15.41 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.000263/0.6163, allocations: 217.3 kB / 0.9805 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.6164, allocations: 61.38 kB / 0.9805 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.6174, allocations: 0.5952 MB / 0.9811 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.6174, allocations: 3.031 kB / 0.9811 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6174, allocations: 1.5 kB / 0.9811 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6174, allocations: 7.938 kB / 0.9811 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6191, allocations: 1.266 MB / 0.9824 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6192, allocations: 1.5 kB / 0.9824 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.6194, allocations: 58.42 kB / 0.9824 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.6198, allocations: 141 kB / 0.9825 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6199, allocations: 14.94 kB / 0.9826 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.6229, allocations: 4.325 MB / 0.9868 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6229, allocations: 10.58 kB / 0.9868 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.6239, allocations: 0.7188 MB / 0.9875 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.6241, allocations: 172.3 kB / 0.9877 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.6242, allocations: 4 kB / 0.9877 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.6244, allocations: 23.97 kB / 0.9877 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.6245, allocations: 43.83 kB / 0.9877 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.6245, allocations: 12 kB / 0.9877 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003278/0.6249, allocations: 326.9 kB / 0.9881 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6249, allocations: 0 / 0.9881 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005856/0.6255, allocations: 148 kB / 0.9882 GB, free: 7.949 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.001203/0.6267, allocations: 1.245 MB / 0.9894 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.6281, allocations: 1.087 MB / 0.9905 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6281, allocations: 0 / 0.9905 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.6289, allocations: 0.7347 MB / 0.9912 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.6299, allocations: 193.7 kB / 0.9914 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.6365, allocations: 5.401 MB / 0.9966 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.6371, allocations: 0.9096 MB / 0.9975 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.6375, allocations: 121.3 kB / 0.9977 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.6377, allocations: 195.4 kB / 0.9978 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.6377, allocations: 0 / 0.9978 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06895/0.7067, allocations: 12.52 MB / 1.01 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.707, allocations: 227.8 kB / 1.01 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.917, allocations: 7.938 kB / 1.01 GB, free: 0.9375 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