Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001257/0.001257, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001406/0.001406, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.182/3.182, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",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.002024/0.002024, allocations: 62.03 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007062/0.3558, allocations: 5.057 MB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.3602, allocations: 2.6 MB / 1.353 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.3605, allocations: 35.62 kB / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.3617, allocations: 420 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009633/0.3626, allocations: 473.6 kB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.3636, allocations: 412.1 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3647, allocations: 0.9256 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.3652, allocations: 322.6 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.3657, allocations: 358.6 kB / 1.356 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.3662, allocations: 366.4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.3663, allocations: 40 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.367, allocations: 411.1 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.3672, allocations: 187.4 kB / 1.357 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.3675, allocations: 322.2 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3686, allocations: 0.8948 MB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3686, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3686, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.3686, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 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.37, allocations: 0.8935 MB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3701, allocations: 8.031 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.323e-05/0.3701, allocations: 17.12 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.3702, allocations: 94.69 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3714, allocations: 212.1 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.3723, allocations: 488.8 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.3723, allocations: 41.34 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.3724, allocations: 44.33 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3735, allocations: 0.8481 MB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.3736, allocations: 11.94 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.3736, allocations: 23.98 kB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/0.3737, allocations: 60.95 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.3746, allocations: 0.5734 MB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.3796, allocations: 5.57 MB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.3803, allocations: 426.2 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3806, allocations: 204.7 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3806, allocations: 4 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3807, allocations: 34.56 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.364e-06/0.3807, allocations: 0 / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002569/0.3832, allocations: 1.144 MB / 1.368 GB, free: 8.414 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3833, allocations: 59.62 kB / 1.368 GB, free: 8.344 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.3839, allocations: 0.4991 MB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3839, allocations: 33.7 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.3842, allocations: 367.7 kB / 1.369 GB, free: 7.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3843, allocations: 126.9 kB / 1.369 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3844, allocations: 110.2 kB / 1.369 GB, free: 7.191 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3847, allocations: 366.8 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.385, allocations: 197.2 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.3855, allocations: 447 kB / 1.37 GB, free: 6.078 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.3864, allocations: 0.6954 MB / 1.371 GB, free: 5.266 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3864, allocations: 0 / 1.371 GB, free: 5.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.3878, allocations: 0.8135 MB / 1.372 GB, free: 4.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3878, allocations: 8 kB / 1.372 GB, free: 4.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3878, allocations: 11.94 kB / 1.372 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.3883, allocations: 156.5 kB / 1.372 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.3888, allocations: 127.8 kB / 1.372 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.3924, allocations: 4.041 MB / 1.376 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.3928, allocations: 31.97 kB / 1.376 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3928, allocations: 28 kB / 1.376 GB, free: 15.67 MB / 1.076 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.0003008/0.3931, allocations: 219.2 kB / 1.376 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3932, allocations: 63.62 kB / 1.376 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.3943, allocations: 0.5933 MB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3943, allocations: 8 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3943, allocations: 7.984 kB / 1.377 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3943, allocations: 0 / 1.377 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.3962, allocations: 1.238 MB / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3962, allocations: 4 kB / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3964, allocations: 51.95 kB / 1.378 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.3969, allocations: 148.2 kB / 1.378 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3969, allocations: 12 kB / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.4007, allocations: 4.026 MB / 1.382 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4008, allocations: 7.969 kB / 1.382 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.402, allocations: 0.7041 MB / 1.383 GB, free: 8.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.4022, allocations: 99.47 kB / 1.383 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.4023, allocations: 12 kB / 1.383 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4026, allocations: 23.97 kB / 1.383 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.4027, allocations: 35.88 kB / 1.383 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.4027, allocations: 12 kB / 1.383 GB, free: 7.891 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004369/0.4031, allocations: 338.8 kB / 1.383 GB, free: 7.562 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4031, allocations: 0 / 1.383 GB, free: 7.562 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006726/0.4038, allocations: 136 kB / 1.384 GB, free: 7.43 MB / 1.076 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.001433/0.4052, allocations: 1.269 MB / 1.385 GB, free: 6.094 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.4066, allocations: 0.8588 MB / 1.386 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4066, allocations: 0 / 1.386 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.4075, allocations: 0.5795 MB / 1.386 GB, free: 4.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.4084, allocations: 214.3 kB / 1.386 GB, free: 4.363 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.4151, allocations: 5.152 MB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.4157, allocations: 0.9098 MB / 1.392 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.416, allocations: 121.3 kB / 1.392 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4162, allocations: 191.4 kB / 1.393 GB, free: 13.58 MB / 1.092 GB Notification: Performance of SimCode: time 5.61e-07/0.4162, allocations: 0 / 1.393 GB, free: 13.58 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.4625, allocations: 13.39 MB / 1.406 GB, free: 476 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.59, allocations: 4.062 kB / 1.406 GB, free: 472 kB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.382827335968614]