Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0007701/0.0007701, 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.0007904/0.0007904, allocations: 170.3 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.8291/0.8291, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.567/1.567, 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.24e-05, allocations: 14.22 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004925/0.004938, allocations: 6.394 MB / 0.9567 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.008004, allocations: 3.004 MB / 0.9597 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.00829, allocations: 39.62 kB / 0.9597 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.009635, allocations: 0.9526 MB / 0.9606 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.01038, allocations: 0.5318 MB / 0.9612 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.01107, allocations: 434.8 kB / 0.9616 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.01207, allocations: 1.252 MB / 0.9628 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.01268, allocations: 0.5334 MB / 0.9633 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.01329, allocations: 0.6663 MB / 0.964 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.01377, allocations: 474.7 kB / 0.9644 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.01385, allocations: 68 kB / 0.9645 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.01428, allocations: 359.1 kB / 0.9648 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.01448, allocations: 327 kB / 0.9651 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.01468, allocations: 311.2 kB / 0.9654 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.01546, allocations: 1.254 MB / 0.9667 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01546, allocations: 0 / 0.9667 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.293e-06/0.01546, allocations: 0 / 0.9667 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.01547, allocations: 0 / 0.9667 GB, free: 2.855 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001129/0.0166, allocations: 1.1 MB / 0.9677 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01663, allocations: 8.031 kB / 0.9677 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.063e-05/0.01672, allocations: 118.7 kB / 0.9679 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.01749, allocations: 248.1 kB / 0.9681 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.01807, allocations: 0.5223 MB / 0.9686 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.0181, allocations: 49.67 kB / 0.9687 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.01816, allocations: 64.36 kB / 0.9687 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.01914, allocations: 1.329 MB / 0.97 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.01916, allocations: 16.06 kB / 0.97 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.0192, allocations: 36.11 kB / 0.9701 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.01929, allocations: 81.27 kB / 0.9701 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.02001, allocations: 0.7504 MB / 0.9709 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.02278, allocations: 4.624 MB / 0.9754 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.02337, allocations: 0.5098 MB / 0.9759 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.02362, allocations: 286.1 kB / 0.9762 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.02365, allocations: 4.5 kB / 0.9762 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.02367, allocations: 43.06 kB / 0.9762 GB, free: 8.656 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.02367, allocations: 0 / 0.9762 GB, free: 8.656 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48): time 0.002041/0.02571, allocations: 1.678 MB / 0.9778 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.02574, allocations: 59.89 kB / 0.9779 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.02611, allocations: 0.5663 MB / 0.9785 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.02614, allocations: 33.7 kB / 0.9785 GB, free: 6.277 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.02631, allocations: 428 kB / 0.9789 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.02639, allocations: 182.5 kB / 0.9791 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.0265, allocations: 126.5 kB / 0.9792 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.0266, allocations: 374.8 kB / 0.9795 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.02686, allocations: 277.8 kB / 0.9798 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.0272, allocations: 489 kB / 0.9803 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.02789, allocations: 0.8124 MB / 0.9811 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0279, allocations: 0 / 0.9811 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001056/0.02895, allocations: 1.078 MB / 0.9821 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.02897, allocations: 11.94 kB / 0.9821 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.02898, allocations: 11.94 kB / 0.9821 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.02949, allocations: 283.9 kB / 0.9824 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.02973, allocations: 127.8 kB / 0.9825 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.03344, allocations: 6.674 MB / 0.9891 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.03369, allocations: 43.95 kB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.03371, allocations: 28 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.03391, allocations: 249.5 kB / 0.9894 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.03397, allocations: 79.47 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/0.03487, allocations: 0.8784 MB / 0.9903 GB, free: 9.445 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.03487, allocations: 4 kB / 0.9903 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.03488, allocations: 7.938 kB / 0.9903 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.03488, allocations: 3.984 kB / 0.9903 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.03639, allocations: 1.611 MB / 0.9919 GB, free: 7.738 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03639, allocations: 4 kB / 0.9919 GB, free: 7.734 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.03652, allocations: 63.89 kB / 0.9919 GB, free: 7.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.03692, allocations: 263.2 kB / 0.9922 GB, free: 7.402 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.03694, allocations: 11.94 kB / 0.9922 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.04044, allocations: 6.667 MB / 0.9987 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.04045, allocations: 7.938 kB / 0.9987 GB, free: 264 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.04128, allocations: 0.9738 MB / 0.9997 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.04143, allocations: 115.5 kB / 0.9998 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.04146, allocations: 8 kB / 0.9998 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.04164, allocations: 39.89 kB / 0.9998 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.0417, allocations: 47.8 kB / 0.9999 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.04172, allocations: 16 kB / 0.9999 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002461/0.04196, allocations: 383.1 kB / 1 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.04196, allocations: 0 / 1 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004507/0.04241, allocations: 224 kB / 1 GB, free: 14.43 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.04349, allocations: 1.53 MB / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.04455, allocations: 1.229 MB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04455, allocations: 0 / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.04515, allocations: 0.8778 MB / 1.004 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.04573, allocations: 230 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.05086, allocations: 6.348 MB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.05111, allocations: 419.3 kB / 1.011 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.05132, allocations: 118 kB / 1.011 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.05153, allocations: 256.4 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.05153, allocations: 0 / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.08391, allocations: 19.33 MB / 1.03 GB, free: 32 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.027, allocations: 0 / 1.03 GB, free: 32 kB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.680147142149508]