Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0009295/0.0009295, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005736/0.005736, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 11.03 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002491/0.2544, allocations: 2.148 MB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.2565, allocations: 1.558 MB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.2566, allocations: 4 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2567, allocations: 19.78 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.2571, allocations: 135.5 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.2574, allocations: 171.7 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.2577, allocations: 323.1 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.2581, allocations: 230 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2583, allocations: 75.7 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2585, allocations: 103.6 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2585, allocations: 8 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.2588, allocations: 251.5 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.2589, allocations: 55.81 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.259, allocations: 101.3 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.2593, allocations: 303.3 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2593, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2593, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2594, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005548/0.2599, allocations: 455.1 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.26, allocations: 15.97 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.26, allocations: 50.73 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.2607, allocations: 84.64 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2609, allocations: 230.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2609, allocations: 8.656 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.261, allocations: 16.36 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.2614, allocations: 307.3 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2615, allocations: 3.938 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.2615, allocations: 8 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.2615, allocations: 16.22 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.2619, allocations: 224.4 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2635, allocations: 1.591 MB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.2639, allocations: 319.3 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.264, allocations: 61.69 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.264, allocations: 4 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.264, allocations: 38.5 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.2641, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004753/0.2645, allocations: 244.4 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2646, allocations: 81.11 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.2648, allocations: 211.6 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2648, allocations: 25.7 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.2649, allocations: 159.8 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.265, allocations: 39.39 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.265, allocations: 25.72 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2651, allocations: 318.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2653, allocations: 75.94 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2655, allocations: 164.6 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.2658, allocations: 242.9 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2658, allocations: 4 kB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004441/0.2662, allocations: 265.3 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/0.2663, allocations: 175.5 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.2663, allocations: 3.938 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2664, allocations: 12 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2666, allocations: 51.89 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2666, allocations: 7.938 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2669, allocations: 27.88 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2669, allocations: 16 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-06/0.2669, allocations: 1.562 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003595/0.2673, allocations: 207.6 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2673, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.2673, allocations: 4 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2675, allocations: 47.91 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2675, allocations: 11.94 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2677, allocations: 24.3 kB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2677, allocations: 11.94 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.2678, allocations: 217 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.2679, allocations: 19.8 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.2681, allocations: 139.5 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2681, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2681, allocations: 7.938 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2681, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.269, allocations: 0.7238 MB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.269, allocations: 3.938 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2691, allocations: 27.98 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2691, allocations: 4 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2691, allocations: 4.125 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.2691, allocations: 11.98 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2691, allocations: 3.938 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.2694, allocations: 378.3 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.2695, allocations: 116.9 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2695, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2697, allocations: 15.92 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.2698, allocations: 11.94 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2698, allocations: 8 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001643/0.27, allocations: 157.1 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.27, allocations: 4 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004572/0.2704, allocations: 68 kB / 1.072 GB, free: 6.945 MB / 0.8262 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005156/0.2709, allocations: 0.9104 MB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.2714, allocations: 293.2 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2714, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.2715, allocations: 64.16 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.272, allocations: 35.98 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.2744, allocations: 2.411 MB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2746, allocations: 0.7362 MB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2749, allocations: 77.47 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.275, allocations: 51.42 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.275, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.476, allocations: 3.377 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.476, allocations: 231.6 kB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.265, allocations: 3.938 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches