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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 210.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.192/3.192, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.22 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006876/0.3724, allocations: 4.623 MB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.3767, allocations: 2.401 MB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.377, allocations: 35.62 kB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3783, allocations: 403.6 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3793, allocations: 473.6 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.3801, allocations: 373.7 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3811, allocations: 0.9139 MB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.3816, allocations: 318.6 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.3821, allocations: 362.6 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.3826, allocations: 342.5 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.3827, allocations: 40 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006653/0.3833, allocations: 363.1 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3835, allocations: 187.3 kB / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.3838, allocations: 258.7 kB / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3849, allocations: 0.8948 MB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3849, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3849, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3849, allocations: 4 kB / 1.375 GB, free: 2.105 MB / 1.061 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.001465/0.3864, allocations: 0.8818 MB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3864, allocations: 8.031 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.3865, allocations: 94.69 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3877, allocations: 204.3 kB / 1.376 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.3886, allocations: 480.8 kB / 1.377 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3886, allocations: 33.38 kB / 1.377 GB, free: 368 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.3887, allocations: 48.36 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.39, allocations: 0.9779 MB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.39, allocations: 7.938 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.39, allocations: 23.98 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.3901, allocations: 60.95 kB / 1.378 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.391, allocations: 0.5734 MB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.3954, allocations: 4.712 MB / 1.383 GB, free: 9.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.3961, allocations: 418.2 kB / 1.383 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.3964, allocations: 212.6 kB / 1.384 GB, free: 8.969 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3964, allocations: 7.984 kB / 1.384 GB, free: 8.961 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3964, allocations: 42.48 kB / 1.384 GB, free: 8.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.3965, allocations: 0 / 1.384 GB, free: 8.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002419/0.3989, allocations: 1.137 MB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3989, allocations: 55.69 kB / 1.385 GB, free: 7.684 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.3995, allocations: 0.5027 MB / 1.385 GB, free: 7.172 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3995, allocations: 29.7 kB / 1.385 GB, free: 7.137 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.3998, allocations: 359.8 kB / 1.386 GB, free: 6.781 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3999, allocations: 134.9 kB / 1.386 GB, free: 6.648 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4, allocations: 114.2 kB / 1.386 GB, free: 6.531 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4002, allocations: 366.8 kB / 1.386 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4005, allocations: 189.2 kB / 1.386 GB, free: 5.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.401, allocations: 451 kB / 1.387 GB, free: 5.422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.4019, allocations: 0.6954 MB / 1.387 GB, free: 4.609 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4019, allocations: 4 kB / 1.387 GB, free: 4.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001293/0.4032, allocations: 0.8099 MB / 1.388 GB, free: 3.773 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4032, allocations: 12 kB / 1.388 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4032, allocations: 8 kB / 1.388 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.4037, allocations: 156 kB / 1.388 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.4041, allocations: 119.8 kB / 1.389 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.4077, allocations: 4.03 MB / 1.392 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.4081, allocations: 35.91 kB / 1.393 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.4082, allocations: 28 kB / 1.393 GB, free: 15.03 MB / 1.092 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.0002924/0.4085, allocations: 211.2 kB / 1.393 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.4086, allocations: 59.72 kB / 1.393 GB, free: 14.76 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4096, allocations: 0.6007 MB / 1.393 GB, free: 14.13 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.4096, allocations: 7.984 kB / 1.393 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4096, allocations: 0 / 1.393 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4096, allocations: 0 / 1.393 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.4116, allocations: 1.186 MB / 1.395 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.4116, allocations: 4 kB / 1.395 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4118, allocations: 51.89 kB / 1.395 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.4123, allocations: 144.4 kB / 1.395 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.4123, allocations: 7.938 kB / 1.395 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.4157, allocations: 4.022 MB / 1.399 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4157, allocations: 4.344 kB / 1.399 GB, free: 8.262 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4168, allocations: 0.7079 MB / 1.399 GB, free: 7.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.417, allocations: 91.53 kB / 1.399 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.4171, allocations: 11.98 kB / 1.399 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4173, allocations: 23.97 kB / 1.4 GB, free: 7.375 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.4174, allocations: 35.89 kB / 1.4 GB, free: 7.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.4174, allocations: 8 kB / 1.4 GB, free: 7.332 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003668/0.4178, allocations: 334.8 kB / 1.4 GB, free: 7.008 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4178, allocations: 3.938 kB / 1.4 GB, free: 7.004 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006156/0.4184, allocations: 140 kB / 1.4 GB, free: 6.867 MB / 1.092 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.001363/0.4198, allocations: 1.261 MB / 1.401 GB, free: 5.539 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.4211, allocations: 0.8546 MB / 1.402 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4211, allocations: 0 / 1.402 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.422, allocations: 0.58 MB / 1.403 GB, free: 4.016 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.4229, allocations: 211.7 kB / 1.403 GB, free: 3.816 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/0.4295, allocations: 5.108 MB / 1.408 GB, free: 14.33 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4299, allocations: 307.5 kB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.4302, allocations: 121.3 kB / 1.408 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.4305, allocations: 191.4 kB / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of SimCode: time 7.11e-07/0.4305, allocations: 0 / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.4814, allocations: 14.17 MB / 1.422 GB, free: 15.88 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.3, allocations: 7.75 kB / 1.422 GB, free: 15.88 MB / 1.123 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.013332672882825]