Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001616/0.001616, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001977/0.001977, allocations: 218.2 kB / 22.26 MB, free: 5.082 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.8 MB / 0.7707 GB, free: 4.348 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.00199/0.00199, allocations: 68.84 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02919/0.3103, allocations: 24.47 MB / 1.307 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3218, allocations: 6.702 MB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.3239, allocations: 127.1 kB / 1.314 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.328, allocations: 1.559 MB / 1.315 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.3321, allocations: 1.937 MB / 1.317 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.3355, allocations: 1.509 MB / 1.319 GB, free: 7.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007996/0.3435, allocations: 6.908 MB / 1.326 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005997/0.3495, allocations: 3.772 MB / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.354, allocations: 2.913 MB / 1.332 GB, free: 9.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00522/0.3592, allocations: 3.739 MB / 1.336 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008207/0.36, allocations: 0.5273 MB / 1.336 GB, free: 5.223 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.3623, allocations: 1.198 MB / 1.337 GB, free: 4.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.3648, allocations: 2.529 MB / 1.34 GB, free: 1.488 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.3677, allocations: 2.536 MB / 1.342 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.3765, allocations: 8.546 MB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3765, allocations: 0 / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3765, allocations: 0 / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001813/0.3766, allocations: 0 / 1.351 GB, free: 6.371 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008059/0.3847, allocations: 4.472 MB / 1.355 GB, free: 1.844 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3847, allocations: 12.03 kB / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007785/0.3855, allocations: 0.5714 MB / 1.356 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.3931, allocations: 1.699 MB / 1.357 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00578/0.3989, allocations: 2.676 MB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.3991, allocations: 275.7 kB / 1.36 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006953/0.3998, allocations: 360.3 kB / 1.361 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.4119, allocations: 7.483 MB / 1.368 GB, free: 4.453 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.172e-05/0.412, allocations: 19.83 kB / 1.368 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/0.4124, allocations: 155.9 kB / 1.368 GB, free: 4.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005743/0.4129, allocations: 491.3 kB / 1.368 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.423, allocations: 5.701 MB / 1.374 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/0.4609, allocations: 31.27 MB / 1.405 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.4639, allocations: 2.023 MB / 1.407 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.467, allocations: 2.1 MB / 1.409 GB, free: 7.914 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.4672, allocations: 17.31 kB / 1.409 GB, free: 7.898 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.4672, allocations: 47.88 kB / 1.409 GB, free: 7.84 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.426e-06/0.4672, allocations: 0 / 1.409 GB, free: 7.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=251): time 0.2778/0.745, allocations: 76.72 MB / 1.484 GB, free: 10.99 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.7451, allocations: 81.34 kB / 1.484 GB, free: 10.9 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.7477, allocations: 1.666 MB / 1.485 GB, free: 9.188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.7481, allocations: 65.7 kB / 1.485 GB, free: 9.117 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.7494, allocations: 1.795 MB / 1.487 GB, free: 7.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.7506, allocations: 0.8946 MB / 1.488 GB, free: 6.402 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.7518, allocations: 481.4 kB / 1.488 GB, free: 5.926 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7519, allocations: 313.1 kB / 1.489 GB, free: 5.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/0.756, allocations: 2.726 MB / 1.491 GB, free: 2.887 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/0.7606, allocations: 3.328 MB / 1.495 GB, free: 15.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/0.7696, allocations: 6.397 MB / 1.501 GB, free: 8.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.7696, allocations: 4 kB / 1.501 GB, free: 8.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03181/0.8014, allocations: 14.41 MB / 1.515 GB, free: 10.21 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.8014, allocations: 12 kB / 1.515 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.8014, allocations: 19.94 kB / 1.515 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02843/0.8299, allocations: 9.244 MB / 1.524 GB, free: 0.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.831, allocations: 299.5 kB / 1.524 GB, free: 0.625 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08079/0.9118, allocations: 51.78 MB / 1.575 GB, free: 12.11 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.9144, allocations: 223.7 kB / 1.575 GB, free: 11.89 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.9147, allocations: 100 kB / 1.575 GB, free: 11.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002665/0.9173, allocations: 1.582 MB / 1.577 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.9178, allocations: 262.5 kB / 1.577 GB, free: 9.945 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03163/0.9494, allocations: 14.47 MB / 1.591 GB, free: 11.42 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/0.9495, allocations: 27.98 kB / 1.591 GB, free: 11.39 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-05/0.9496, allocations: 44 kB / 1.591 GB, free: 11.35 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/0.9496, allocations: 11.95 kB / 1.591 GB, free: 11.34 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6371/1.587, allocations: 20.22 MB / 1.611 GB, free: 290.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.587, allocations: 5.938 kB / 1.611 GB, free: 290.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/1.588, allocations: 162 kB / 1.611 GB, free: 290.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02609/1.614, allocations: 9.013 MB / 1.62 GB, free: 290 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/1.614, allocations: 46 kB / 1.62 GB, free: 290 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06137/1.676, allocations: 51.34 MB / 1.67 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.676, allocations: 11.94 kB / 1.67 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02507/1.701, allocations: 14.1 MB / 1.684 GB, free: 244.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/1.703, allocations: 0.7793 MB / 1.685 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/1.703, allocations: 51.94 kB / 1.685 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/1.705, allocations: 211.7 kB / 1.685 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.706, allocations: 249.3 kB / 1.685 GB, free: 243.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/1.706, allocations: 64 kB / 1.685 GB, free: 243.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001179/1.708, allocations: 1.129 MB / 1.686 GB, free: 242 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.708, allocations: 0 / 1.686 GB, free: 242 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003629/1.711, allocations: 1.613 MB / 1.688 GB, free: 240.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02514/1.736, allocations: 14.7 MB / 1.702 GB, free: 225.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.754, allocations: 10.2 MB / 1.712 GB, free: 215.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.754, allocations: 256 / 1.712 GB, free: 215.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01406/1.769, allocations: 7.018 MB / 1.719 GB, free: 208.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.771, allocations: 0.5628 MB / 1.72 GB, free: 207.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07639/1.847, allocations: 50.51 MB / 1.769 GB, free: 156.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.85, allocations: 3.227 MB / 1.772 GB, free: 152.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009284/1.851, allocations: 395.3 kB / 1.772 GB, free: 152.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.852, allocations: 1.464 MB / 1.774 GB, free: 151 MB / 1.295 GB Notification: Performance of SimCode: time 1.152e-06/1.852, allocations: 0 / 1.774 GB, free: 151 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/2.009, allocations: 124.7 MB / 1.896 GB, free: 26.88 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/18.33, allocations: 6.125 kB / 1.896 GB, free: 26.88 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 25.117201255867258]