Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001874/0.001874, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002261/0.002261, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.197/3.197, allocations: 0.49 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_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.002047/0.002047, allocations: 63.75 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006522/0.3424, allocations: 4.613 MB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.3467, allocations: 2.413 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.3471, allocations: 35.62 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3484, allocations: 406 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3495, allocations: 469.6 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.3504, allocations: 374 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.3516, allocations: 0.91 MB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.3522, allocations: 322.6 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.3528, allocations: 362.6 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.3534, allocations: 362.5 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.3535, allocations: 40 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.3541, allocations: 367.1 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3544, allocations: 183.3 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3546, allocations: 258.7 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3557, allocations: 0.8948 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3557, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3557, allocations: 4 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3557, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 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.001521/0.3572, allocations: 0.8896 MB / 1.338 GB, free: 4.547 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3573, allocations: 12.03 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.3574, allocations: 90.7 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3586, allocations: 200.3 kB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.3595, allocations: 480.8 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.3596, allocations: 37.36 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.3596, allocations: 44.33 kB / 1.339 GB, free: 3.672 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3609, allocations: 0.9777 MB / 1.34 GB, free: 2.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.3609, allocations: 7.938 kB / 1.34 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.3609, allocations: 23.98 kB / 1.34 GB, free: 2.496 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-05/0.361, allocations: 68.95 kB / 1.34 GB, free: 2.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.3619, allocations: 0.5656 MB / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.3664, allocations: 4.712 MB / 1.345 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.367, allocations: 441.1 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.3673, allocations: 200.7 kB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3674, allocations: 4 kB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3674, allocations: 34.56 kB / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3674, allocations: 0 / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002581/0.37, allocations: 1.132 MB / 1.347 GB, free: 11.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.37, allocations: 59.69 kB / 1.347 GB, free: 11.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.3706, allocations: 0.5027 MB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3706, allocations: 29.7 kB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.3709, allocations: 367.8 kB / 1.348 GB, free: 10.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.371, allocations: 130.9 kB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.3711, allocations: 114.2 kB / 1.348 GB, free: 9.891 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3713, allocations: 358.8 kB / 1.349 GB, free: 9.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.3716, allocations: 197.2 kB / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.3721, allocations: 443.9 kB / 1.349 GB, free: 8.789 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.373, allocations: 0.6954 MB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.373, allocations: 0 / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001386/0.3744, allocations: 0.8137 MB / 1.351 GB, free: 7.141 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3744, allocations: 8 kB / 1.351 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.3744, allocations: 8 kB / 1.351 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.3749, allocations: 156 kB / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.3754, allocations: 123.8 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.379, allocations: 4.027 MB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3794, allocations: 31.97 kB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3794, allocations: 28 kB / 1.355 GB, free: 2.406 MB / 1.045 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.0002771/0.3797, allocations: 217.6 kB / 1.355 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.3798, allocations: 71.58 kB / 1.355 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3809, allocations: 0.5932 MB / 1.356 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3809, allocations: 4 kB / 1.356 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3809, allocations: 0 / 1.356 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3809, allocations: 3.984 kB / 1.356 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.3828, allocations: 1.191 MB / 1.357 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3828, allocations: 4 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.383, allocations: 56.17 kB / 1.357 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.3835, allocations: 144.2 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3835, allocations: 11.94 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.3869, allocations: 4.014 MB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3869, allocations: 8.125 kB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.388, allocations: 0.7081 MB / 1.362 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3882, allocations: 95.58 kB / 1.362 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.3883, allocations: 12 kB / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3886, allocations: 19.97 kB / 1.362 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3886, allocations: 35.88 kB / 1.362 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.3886, allocations: 12 kB / 1.362 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003722/0.389, allocations: 326.9 kB / 1.362 GB, free: 10.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 1.362 GB, free: 10.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006411/0.3897, allocations: 144 kB / 1.362 GB, free: 10.23 MB / 1.061 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.001416/0.3911, allocations: 1.261 MB / 1.364 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.3925, allocations: 0.8626 MB / 1.365 GB, free: 7.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3925, allocations: 0 / 1.365 GB, free: 7.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.3934, allocations: 0.5758 MB / 1.365 GB, free: 7.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.3944, allocations: 204.5 kB / 1.365 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.4011, allocations: 5.124 MB / 1.37 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.4015, allocations: 303.5 kB / 1.371 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004028/0.4019, allocations: 125.3 kB / 1.371 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.4022, allocations: 195.4 kB / 1.371 GB, free: 1.027 MB / 1.061 GB Notification: Performance of SimCode: time 1.363e-06/0.4022, allocations: 0 / 1.371 GB, free: 1.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05526/0.4575, allocations: 14.34 MB / 1.385 GB, free: 3.062 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 7.938 kB / 1.385 GB, free: 3.055 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.03681399198831]