Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.8998, allocations: 168.7 MB / 1.272 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005791/0.9056, allocations: 5.014 MB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.9091, allocations: 2.516 MB / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.9096, allocations: 22.84 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.9107, allocations: 425.7 kB / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.9118, allocations: 463.8 kB / 1.28 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.9127, allocations: 374.4 kB / 1.28 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.914, allocations: 0.9167 MB / 1.281 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.9145, allocations: 264.6 kB / 1.281 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.9151, allocations: 338.3 kB / 1.282 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.9156, allocations: 365.2 kB / 1.282 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.9157, allocations: 38.19 kB / 1.282 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.9164, allocations: 412.5 kB / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.9166, allocations: 193.8 kB / 1.283 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.9169, allocations: 315.1 kB / 1.283 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.918, allocations: 0.8966 MB / 1.284 GB, free: 264 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.918, allocations: 0 / 1.284 GB, free: 264 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.918, allocations: 0.6094 kB / 1.284 GB, free: 264 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.918, allocations: 0 / 1.284 GB, free: 264 kB / 0.9981 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.001528/0.9196, allocations: 0.9561 MB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.9196, allocations: 10.72 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.9197, allocations: 97.42 kB / 1.285 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.921, allocations: 204.4 kB / 1.285 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/0.9218, allocations: 0.5331 MB / 1.285 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.9219, allocations: 38.11 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.922, allocations: 45 kB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.9231, allocations: 0.8448 MB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.9231, allocations: 15.2 kB / 1.286 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.9232, allocations: 20.53 kB / 1.286 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.524e-05/0.9233, allocations: 65.72 kB / 1.286 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.9242, allocations: 0.568 MB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.9293, allocations: 5.649 MB / 1.293 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.93, allocations: 420.4 kB / 1.293 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.9303, allocations: 206.1 kB / 1.293 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.9303, allocations: 10.73 kB / 1.293 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9304, allocations: 34.56 kB / 1.293 GB, free: 8.797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.9304, allocations: 7.938 kB / 1.293 GB, free: 8.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002829/0.9332, allocations: 1.515 MB / 1.295 GB, free: 7.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.9332, allocations: 54.38 kB / 1.295 GB, free: 7.777 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.9338, allocations: 0.492 MB / 1.295 GB, free: 7.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.9338, allocations: 29.7 kB / 1.295 GB, free: 7.512 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.9341, allocations: 360.5 kB / 1.296 GB, free: 7.219 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.9343, allocations: 132.1 kB / 1.296 GB, free: 7.117 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.9344, allocations: 111 kB / 1.296 GB, free: 7.055 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.9346, allocations: 365 kB / 1.296 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.9349, allocations: 194.9 kB / 1.296 GB, free: 6.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.9354, allocations: 448.3 kB / 1.297 GB, free: 6.262 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.9362, allocations: 0.6858 MB / 1.297 GB, free: 5.738 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9362, allocations: 7.719 kB / 1.297 GB, free: 5.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001291/0.9375, allocations: 0.8059 MB / 1.298 GB, free: 5.375 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9375, allocations: 7.781 kB / 1.298 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.9376, allocations: 9.422 kB / 1.298 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/0.938, allocations: 159.5 kB / 1.298 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.9385, allocations: 122.4 kB / 1.298 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.9425, allocations: 4.346 MB / 1.303 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.9429, allocations: 33.08 kB / 1.303 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.943, allocations: 27.88 kB / 1.303 GB, free: 1.004 MB / 1.014 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.0002934/0.9433, allocations: 223.5 kB / 1.303 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.9434, allocations: 65.47 kB / 1.303 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.9445, allocations: 0.5979 MB / 1.304 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9445, allocations: 3.781 kB / 1.304 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9445, allocations: 2.188 kB / 1.304 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9445, allocations: 1.453 kB / 1.304 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.9465, allocations: 1.256 MB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9465, allocations: 1.312 kB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.9467, allocations: 59.14 kB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.9472, allocations: 142.4 kB / 1.305 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.9472, allocations: 12.77 kB / 1.305 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/0.9508, allocations: 4.333 MB / 1.309 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9508, allocations: 6.438 kB / 1.309 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.952, allocations: 0.7144 MB / 1.31 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.9522, allocations: 165.7 kB / 1.31 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.9523, allocations: 8.797 kB / 1.31 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.9525, allocations: 27.09 kB / 1.31 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.9526, allocations: 30.77 kB / 1.31 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.9526, allocations: 16.16 kB / 1.31 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004176/0.9531, allocations: 333.9 kB / 1.311 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.9531, allocations: 0 / 1.311 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006692/0.9537, allocations: 143.4 kB / 1.311 GB, free: 10.68 MB / 1.029 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.001429/0.9552, allocations: 1.263 MB / 1.312 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.9568, allocations: 1.014 MB / 1.313 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9568, allocations: 0 / 1.313 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.9577, allocations: 0.7287 MB / 1.314 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.9587, allocations: 206.3 kB / 1.314 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.9661, allocations: 5.116 MB / 1.319 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.9667, allocations: 0.9012 MB / 1.32 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004359/0.9672, allocations: 118.7 kB / 1.32 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.9675, allocations: 193.6 kB / 1.32 GB, free: 4.164 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.9675, allocations: 0 / 1.32 GB, free: 4.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/1.019, allocations: 12.82 MB / 1.333 GB, free: 3.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.88, allocations: 10.47 kB / 1.333 GB, free: 3.062 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.904130542010535]