Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001764/0.001764, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.002013/0.002013, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.43/1.43, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.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.839/2.839, allocations: 469.8 MB / 0.7491 GB, free: 3.023 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.89 kB / 1.073 GB, free: 156 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7374, allocations: 159.1 MB / 1.229 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0215/0.7589, allocations: 16.02 MB / 1.244 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00893/0.7679, allocations: 4.82 MB / 1.249 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.7693, allocations: 63.69 kB / 1.249 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.7726, allocations: 1.05 MB / 1.25 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.7748, allocations: 0.7424 MB / 1.251 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.7773, allocations: 0.9197 MB / 1.252 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004817/0.7822, allocations: 3.606 MB / 1.255 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006598/0.7888, allocations: 4.755 MB / 1.26 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.7913, allocations: 1.582 MB / 1.261 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.7945, allocations: 1.776 MB / 1.263 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.7956, allocations: 343.9 kB / 1.263 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.7978, allocations: 0.8036 MB / 1.264 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.7993, allocations: 1.333 MB / 1.266 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.8012, allocations: 1.451 MB / 1.267 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.8068, allocations: 5.144 MB / 1.272 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.8069, allocations: 4 kB / 1.272 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8069, allocations: 0 / 1.272 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001365/0.807, allocations: 0 / 1.272 GB, free: 8.273 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005889/0.8129, allocations: 2.709 MB / 1.275 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.813, allocations: 16.02 kB / 1.275 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000539/0.8135, allocations: 374.5 kB / 1.275 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.8176, allocations: 0.846 MB / 1.276 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.8207, allocations: 1.572 MB / 1.277 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.8209, allocations: 177.1 kB / 1.278 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004835/0.8214, allocations: 232.3 kB / 1.278 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008052/0.8294, allocations: 4.157 MB / 1.282 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.8295, allocations: 11.89 kB / 1.282 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.8298, allocations: 99.98 kB / 1.282 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002273/0.83, allocations: 164.5 kB / 1.282 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.8364, allocations: 3.64 MB / 1.286 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/0.8567, allocations: 16.45 MB / 1.302 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.8603, allocations: 2.297 MB / 1.304 GB, free: 5.637 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009136/0.8612, allocations: 0.5824 MB / 1.305 GB, free: 5.047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.8614, allocations: 97.66 kB / 1.305 GB, free: 4.934 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.8615, allocations: 43.12 kB / 1.305 GB, free: 4.879 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.584e-06/0.8615, allocations: 3.938 kB / 1.305 GB, free: 4.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005768/0.8672, allocations: 3.503 MB / 1.308 GB, free: 1.281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.8673, allocations: 111.5 kB / 1.308 GB, free: 1.145 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.8687, allocations: 1.022 MB / 1.309 GB, free: 100 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.8688, allocations: 37.7 kB / 1.309 GB, free: 56 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007958/0.8696, allocations: 1.138 MB / 1.31 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.8698, allocations: 293.6 kB / 1.311 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.8702, allocations: 279.4 kB / 1.311 GB, free: 14.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.8705, allocations: 418.7 kB / 1.311 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/0.8714, allocations: 0.6089 MB / 1.312 GB, free: 13.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.8729, allocations: 1.197 MB / 1.313 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.8754, allocations: 1.856 MB / 1.315 GB, free: 9.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8754, allocations: 8 kB / 1.315 GB, free: 9.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003347/0.8788, allocations: 2.027 MB / 1.317 GB, free: 7.672 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.8788, allocations: 18.03 kB / 1.317 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.8789, allocations: 16 kB / 1.317 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.8793, allocations: 164 kB / 1.317 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.8805, allocations: 343.4 kB / 1.317 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/0.8806, allocations: 39.86 kB / 1.317 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8816, allocations: 135.8 kB / 1.318 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8817, allocations: 64 kB / 1.318 GB, free: 6.898 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.8832, allocations: 0.9771 MB / 1.319 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.8834, allocations: 115.2 kB / 1.319 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.8857, allocations: 1.23 MB / 1.32 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.8858, allocations: 8 kB / 1.32 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8858, allocations: 8 kB / 1.32 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.8858, allocations: 3.984 kB / 1.32 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/0.8918, allocations: 3.798 MB / 1.324 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.8918, allocations: 4 kB / 1.324 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.8924, allocations: 155.8 kB / 1.324 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.8928, allocations: 143.5 kB / 1.324 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.8929, allocations: 19.98 kB / 1.324 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.8929, allocations: 15.88 kB / 1.324 GB, free: 240 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.8929, allocations: 4 kB / 1.324 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.895, allocations: 1.474 MB / 1.325 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.8955, allocations: 276.3 kB / 1.326 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.8956, allocations: 20 kB / 1.326 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.8962, allocations: 59.91 kB / 1.326 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.8964, allocations: 60.42 kB / 1.326 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.8964, allocations: 24 kB / 1.326 GB, free: 14.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009809/0.8974, allocations: 0.6992 MB / 1.326 GB, free: 13.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.544e-06/0.8974, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00138/0.8988, allocations: 391.9 kB / 1.327 GB, free: 13.16 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/0.9013, allocations: 2.037 MB / 1.329 GB, free: 11.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.904, allocations: 1.725 MB / 1.331 GB, free: 9.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.904, allocations: 1.938 kB / 1.331 GB, free: 9.242 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.9051, allocations: 0.8625 MB / 1.331 GB, free: 8.293 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.9066, allocations: 266 kB / 1.332 GB, free: 8.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.926, allocations: 12.91 MB / 1.344 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.928, allocations: 1.916 MB / 1.346 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001117/0.9292, allocations: 449.4 kB / 1.347 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/0.9301, allocations: 0.7141 MB / 1.347 GB, free: 7.293 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/0.9301, allocations: 0 / 1.347 GB, free: 7.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06175/0.9919, allocations: 27.89 MB / 1.374 GB, free: 11.73 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.48, allocations: 6.938 kB / 1.374 GB, free: 11.73 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 18.855588550912216]