Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0008034/0.0008034, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001266/0.001266, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8405/0.8405, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.818e-06, allocations: 6.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003733/0.003743, allocations: 4.614 MB / 0.955 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.006127, allocations: 2.413 MB / 0.9574 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.006307, allocations: 39.62 kB / 0.9574 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.006945, allocations: 408.5 kB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.007478, allocations: 489.1 kB / 0.9582 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.007917, allocations: 403.5 kB / 0.9586 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.008484, allocations: 0.9525 MB / 0.9596 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.008815, allocations: 326.3 kB / 0.9599 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.009204, allocations: 494.7 kB / 0.9603 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.00947, allocations: 303.1 kB / 0.9606 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.00951, allocations: 36 kB / 0.9607 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.009817, allocations: 370.8 kB / 0.961 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.009952, allocations: 203.2 kB / 0.9612 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01009, allocations: 211.5 kB / 0.9614 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.01068, allocations: 0.8994 MB / 0.9623 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01068, allocations: 4 kB / 0.9623 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01068, allocations: 4 kB / 0.9623 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.01069, allocations: 0 / 0.9623 GB, free: 7.332 MB / 0.9167 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.0009003/0.01159, allocations: 0.8778 MB / 0.9632 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01162, allocations: 12.03 kB / 0.9632 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.01169, allocations: 94.69 kB / 0.9633 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006338/0.01232, allocations: 212.2 kB / 0.9635 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.01283, allocations: 499.9 kB / 0.9639 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.01285, allocations: 33.38 kB / 0.964 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.0129, allocations: 44.36 kB / 0.964 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.01359, allocations: 0.974 MB / 0.965 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.01361, allocations: 16.11 kB / 0.965 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.01364, allocations: 28.11 kB / 0.965 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.0137, allocations: 64.95 kB / 0.9651 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.01423, allocations: 0.5656 MB / 0.9656 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.01675, allocations: 4.704 MB / 0.9702 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.01714, allocations: 422.2 kB / 0.9706 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.01733, allocations: 196.7 kB / 0.9708 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.01735, allocations: 4.531 kB / 0.9708 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.01737, allocations: 42.55 kB / 0.9709 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.01737, allocations: 0 / 0.9709 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001355/0.01872, allocations: 1.138 MB / 0.972 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.01875, allocations: 59.62 kB / 0.972 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.01908, allocations: 0.5146 MB / 0.9725 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.0191, allocations: 29.7 kB / 0.9725 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01926, allocations: 375.6 kB / 0.9729 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.01931, allocations: 119 kB / 0.973 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.01941, allocations: 114.2 kB / 0.9731 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.0195, allocations: 366.8 kB / 0.9735 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01968, allocations: 193.2 kB / 0.9737 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.01997, allocations: 443.3 kB / 0.9741 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.02048, allocations: 0.6919 MB / 0.9748 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02048, allocations: 0 / 0.9748 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007599/0.02124, allocations: 0.8137 MB / 0.9756 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.02126, allocations: 10.34 kB / 0.9756 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02127, allocations: 8 kB / 0.9756 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.02155, allocations: 152.6 kB / 0.9757 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.02181, allocations: 127.8 kB / 0.9758 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.02378, allocations: 4.029 MB / 0.9798 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.02395, allocations: 35.97 kB / 0.9798 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.02397, allocations: 24 kB / 0.9798 GB, free: 4.25 MB / 0.9323 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.000156/0.02413, allocations: 218.3 kB / 0.98 GB, free: 4.027 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.02418, allocations: 63.58 kB / 0.9801 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.02477, allocations: 0.6007 MB / 0.9807 GB, free: 3.34 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02478, allocations: 4 kB / 0.9807 GB, free: 3.336 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.02478, allocations: 7.922 kB / 0.9807 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.02478, allocations: 0 / 0.9807 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.02582, allocations: 1.186 MB / 0.9819 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02583, allocations: 4.062 kB / 0.9819 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.02595, allocations: 55.89 kB / 0.9819 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.02615, allocations: 140.2 kB / 0.9821 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.02617, allocations: 8 kB / 0.9821 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.02793, allocations: 4.018 MB / 0.986 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02793, allocations: 4.031 kB / 0.986 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.02849, allocations: 0.7084 MB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.0286, allocations: 99.45 kB / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.02863, allocations: 8 kB / 0.9868 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.02877, allocations: 19.97 kB / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.02881, allocations: 35.89 kB / 0.9868 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.02882, allocations: 8 kB / 0.9868 GB, free: 12.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002109/0.02903, allocations: 342.8 kB / 0.9872 GB, free: 12.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.02903, allocations: 4.094 kB / 0.9872 GB, free: 12.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003523/0.02939, allocations: 144 kB / 0.9873 GB, free: 12.06 MB / 0.948 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.0007504/0.03014, allocations: 1.253 MB / 0.9885 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007523/0.03089, allocations: 0.8586 MB / 0.9894 GB, free: 9.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.03089, allocations: 4.062 kB / 0.9894 GB, free: 9.836 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.03127, allocations: 0.5639 MB / 0.9899 GB, free: 9.227 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.03182, allocations: 213.2 kB / 0.9901 GB, free: 9.031 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.03569, allocations: 5.146 MB / 0.9952 GB, free: 3.496 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.03587, allocations: 316 kB / 0.9955 GB, free: 3.156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.03605, allocations: 125.2 kB / 0.9956 GB, free: 3.031 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.03622, allocations: 200.4 kB / 0.9958 GB, free: 2.836 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.03622, allocations: 0 / 0.9958 GB, free: 2.836 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.06233, allocations: 14.4 MB / 1.01 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.92, allocations: 9.562 kB / 1.01 GB, free: 4.82 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 10.679411239922047]