Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.489/2.489, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.88 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.234, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01336/0.2473, allocations: 10.92 MB / 1.064 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2594, allocations: 8.787 MB / 1.072 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.2604, allocations: 59.62 kB / 1.072 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.2644, allocations: 1.684 MB / 1.074 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.2682, allocations: 1.523 MB / 1.075 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2699, allocations: 0.6729 MB / 1.076 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.2726, allocations: 2.282 MB / 1.078 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.2745, allocations: 1.383 MB / 1.08 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.276, allocations: 0.977 MB / 1.081 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2776, allocations: 1.016 MB / 1.082 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.278, allocations: 140 kB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.2796, allocations: 0.8031 MB / 1.082 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006184/0.2802, allocations: 0.5648 MB / 1.083 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2814, allocations: 0.8861 MB / 1.084 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.2843, allocations: 2.539 MB / 1.086 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2843, allocations: 0 / 1.086 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2843, allocations: 0 / 1.086 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.871e-05/0.2844, allocations: 0 / 1.086 GB, free: 5.867 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003579/0.288, allocations: 2.025 MB / 1.088 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.288, allocations: 8.625 kB / 1.088 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.2883, allocations: 186.1 kB / 1.088 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.2989, allocations: 2.054 MB / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.301, allocations: 1.119 MB / 1.092 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.3011, allocations: 90.62 kB / 1.092 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.3014, allocations: 115.9 kB / 1.092 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/0.3067, allocations: 2.482 MB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.3067, allocations: 3.938 kB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.3069, allocations: 55.98 kB / 1.094 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/0.3072, allocations: 126.1 kB / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.3142, allocations: 2.545 MB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.3263, allocations: 10.08 MB / 1.107 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.3323, allocations: 1.945 MB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.3349, allocations: 0.9699 MB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.3349, allocations: 4.438 kB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.335, allocations: 42.98 kB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 3.586e-06/0.335, allocations: 0 / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.0305/0.3655, allocations: 8.706 MB / 1.118 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3656, allocations: 68 kB / 1.118 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.3671, allocations: 1.101 MB / 1.119 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.3672, allocations: 37.7 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.3677, allocations: 0.7379 MB / 1.12 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.368, allocations: 283.9 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.3685, allocations: 198.4 kB / 1.12 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3687, allocations: 345.9 kB / 1.121 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/0.3717, allocations: 1.071 MB / 1.122 GB, free: 392 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.3748, allocations: 1.313 MB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/0.3808, allocations: 2.382 MB / 1.125 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3809, allocations: 4 kB / 1.125 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008659/0.3895, allocations: 3.276 MB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3896, allocations: 9.094 kB / 1.129 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3896, allocations: 4 kB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/0.3924, allocations: 0.7995 MB / 1.129 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.3943, allocations: 411.2 kB / 1.13 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.4098, allocations: 15.94 MB / 1.145 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.4121, allocations: 283.6 kB / 1.146 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.4123, allocations: 59.95 kB / 1.146 GB, free: 6.539 MB / 0.9044 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007681/0.413, allocations: 401.4 kB / 1.146 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.4134, allocations: 142.3 kB / 1.146 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008681/0.4221, allocations: 3.206 MB / 1.149 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4221, allocations: 8 kB / 1.149 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.4221, allocations: 8 kB / 1.149 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4222, allocations: 3.984 kB / 1.149 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.433, allocations: 4.904 MB / 1.154 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4331, allocations: 4 kB / 1.154 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.4347, allocations: 355.7 kB / 1.155 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/0.437, allocations: 0.7053 MB / 1.155 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/0.4371, allocations: 27.97 kB / 1.155 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/0.4516, allocations: 15.54 MB / 1.17 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4516, allocations: 4 kB / 1.17 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008098/0.4597, allocations: 3.038 MB / 1.173 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.4604, allocations: 387.1 kB / 1.174 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.4607, allocations: 16 kB / 1.174 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.4627, allocations: 295.4 kB / 1.174 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.463, allocations: 84.48 kB / 1.174 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/0.4631, allocations: 35.97 kB / 1.174 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001088/0.4642, allocations: 0.7405 MB / 1.175 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4642, allocations: 0 / 1.175 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001512/0.4657, allocations: 432 kB / 1.175 GB, free: 6.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008057/0.4738, allocations: 3.616 MB / 1.179 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008508/0.4823, allocations: 3.758 MB / 1.183 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.4823, allocations: 7.938 kB / 1.183 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004835/0.4872, allocations: 2.368 MB / 1.185 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.4894, allocations: 0.522 MB / 1.185 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/0.5228, allocations: 16.58 MB / 1.202 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.5242, allocations: 1.388 MB / 1.203 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001626/0.5258, allocations: 371.9 kB / 1.203 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008583/0.5267, allocations: 0.6008 MB / 1.204 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/0.5267, allocations: 0 / 1.204 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9313/1.458, allocations: 41.22 MB / 1.244 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/17.15, allocations: 2.188 kB / 1.244 GB, free: 184.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches